[UserScript] Steam Web Integration

INTRODUCTION

I originally wanted to extend this userscript, but I figured that this could be useful for broader applications. For example, a have-list on steam trades with steam links to the game, or a indie bundle page with steam links to the games. It is fully compatible with my Have List Filter userscript. All it does it check each web page for links to store.steampowered.com/app and store.steampowered.com/sub, check if you own or wishlisted it and display a little icon.

FEATURES

  • Checks the web pages for links steam games
  • Checks if those links contain games owned/wishlisted/ignored/removed
  • Displays an informative icon next to the link
  • Displays caching information when hovering over the icon
  • Option to choose the position of the icon
  • Caching of data
  • Support for dynamically generated web content

DOWNLOAD

INSTRUCTIONS

  1. Download and install Tampermonkey for your browser
  2. Download the userscript above
  3. (Optional) Configure your preferred settings in the code
  4. Hit install when asked
  5. Enjoy!

FAQ

Why do I keep getting popups?
The part of Steam API I am using is quite buggy. Just make sure you are logged in to steam in your web browser and visit this page and refresh until you can see all your data is loaded (you will see this if it is not loaded).

Why doesn't it work for me?
I don't know. Be sure to contact me and provide me the log/error from the JavaScript console, if there is any.
Post here

Can I suggest a feature?
Yes, absolutely!
Post here

CHANGELOG

Version 1.6
Added support for trading cards icon.

Version 1.5
Added support for games that were removed or delisted on Steam.

Version 1.3
Implemented caching of data and added support for dynamically generated content.

Version 1.2
Prevented alerts from showing when in incognito mode

Version 1.1
Added support for agecheck links

Version 1.0

  • initial release

CREDITS

SCREENSHOTS

View attached image.
View attached image.
View attached image.
2 years ago*

Comment has been collapsed.

no work?

8 months ago
Permalink

Comment has been collapsed.

Works fine again, most likely Steam as usual.

8 months ago
Permalink

Comment has been collapsed.

I fixed it in the new update. Please update the script.

8 months ago
Permalink

Comment has been collapsed.

Version 1.7.6, dont work, download "greasyfork"

8 months ago
Permalink

Comment has been collapsed.

Use GitHub, it has 1.7.7

8 months ago
Permalink

Comment has been collapsed.

Thanks. Or add line 247 in script - value "ignoredApps = Object.values(ignoredApps);". Version 1.7.6, also works.

8 months ago
Permalink

Comment has been collapsed.

Spasibo :)

8 months ago
Permalink

Comment has been collapsed.

Is this the script that shows a green tick here on steamgifts if you own the game on steam ?

I'm not getting the green tick or red cross when i check bundle charts here on steamgifts.

I just installed a new OS and i'm setting up my browser again and can't remember if this is the script or if it was another one.

8 months ago*
Permalink

Comment has been collapsed.

View attached image.
8 months ago
Permalink

Comment has been collapsed.

Thanks for the info , so it's not working in my Waterfox browser for some reason.

edit:
It's working now after i logged into steam in the browser.
It used to work even if i wasn't logged in ,maybe it's something to do with my browser cache.

P.S:
Thanks for the update Royalgamer06 !

8 months ago*
Permalink

Comment has been collapsed.

Or you got the old version from GF instead of working one from GH.

8 months ago
Permalink

Comment has been collapsed.

Nah ,always Github.

Anyway ,seems ok now ,thanks.

8 months ago
Permalink

Comment has been collapsed.

Uncaught TypeError: ignoredApps.includes is not a function
this is recent, tampermonkey was just updated

8 months ago
Permalink

Comment has been collapsed.

In 1.7.7?

8 months ago
Permalink

Comment has been collapsed.

wait, when did he updated it?

works fine now

8 months ago
Permalink

Comment has been collapsed.

A bit after Steam broke it, if you check the couple posts above yours having the same problem.

8 months ago
Permalink

Comment has been collapsed.

thanks

8 months ago
Permalink

Comment has been collapsed.

hi, i would like to request if possible
rather than green checkmark for owned i think it's more "visible" if not better to block it and change it's color to green, same goes for wishlist (blue), not owned (white) and ignored (red)
just like rachart enhancer, but this one just block the title

thanks

8 months ago
Permalink

Comment has been collapsed.

Just stopped working

8 months ago
Permalink

Comment has been collapsed.

log to your steam account in browser. It helps to me.

8 months ago
Permalink

Comment has been collapsed.

Works for me. Do you have the latest version?

8 months ago
Permalink

Comment has been collapsed.

reinstalled and it got fixed, thanks

8 months ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 7 months ago.

7 months ago
Permalink

Comment has been collapsed.

Not all games are being marked as owned. It seems that the userdata url doesn't return the complete list of OwnedApps (~6000 for me, stops at appid 366860). 😿

7 months ago
Permalink

Comment has been collapsed.

Jep, I have issues too. I synced accounts here at SG and a lot, and I mean A LOT, of apps got removed. Afterwards I went to steam.db to check sales and most games I do already own are not marked at all.
Was there another massive purge by Valve? Because most games neither ESGST nor Steam Web Integration can detect now are so called trash games.

7 months ago
Permalink

Comment has been collapsed.

Trash like

View attached image.
7 months ago
Permalink

Comment has been collapsed.

I was going to post exactly that as an example, because I'm using RaChart Enhancer at the same time and it seems that it does maintain a cache of the owned games (screenshot attached).

It's like Valve is limiting the size of the JSON returned by the url queried, either the total size of the information delivered (a certain amount of kB in the JSON response) or the number of items in each dataset. When I check the url manually I can see that my rgOwnedApps only reaches appid ~366860, which explains why some games are marked correctly as owned (if their appid is lower than 366860) while others aren't (higher appid, likely affecting more recent games).

View attached image.
7 months ago
Permalink

Comment has been collapsed.

Steam as usual, I'm having all sorts of other problems as well.

View attached image.
7 months ago
Permalink

Comment has been collapsed.

I wonder if that is what is happening for me too. Most things are not being marked owned, wishlisted, or ignored. Even RaChart cannot sync to my wishlist.

7 months ago
Permalink

Comment has been collapsed.

steam itself isn't tagging games as owned atm
on Tuesdays, Steam conducts "maintenance" aka experiments

7 months ago
Permalink

Comment has been collapsed.

This has been going on for a few days, for me at least.

7 months ago
Permalink

Comment has been collapsed.

I've had no problem, this is just plain weird 🤷🏼‍♂️

7 months ago
Permalink

Comment has been collapsed.

Maybe I have bad luck. =)

7 months ago
Permalink

Comment has been collapsed.

Today, the script has stopped displaying the games that are already on the account Steam. Version 1.7.7. Reinstall script don't help.

7 months ago*
Permalink

Comment has been collapsed.

Steam as usual, call gaben.

7 months ago
Permalink

Comment has been collapsed.

Haha

7 months ago
Permalink

Comment has been collapsed.

+1 all games marks as (x)

7 months ago
Permalink

Comment has been collapsed.

All games marks as (x) in all websites.

7 months ago*
Permalink

Comment has been collapsed.

Well, looks like it was a short period of wrong work, I see.

7 months ago*
Permalink

Comment has been collapsed.

I started to use it recently and there was such an embarrassment - it stopped displaying correctly ...

😩

7 months ago
Permalink

Comment has been collapsed.

hmmm ... now it work correctly!

😊

7 months ago
Permalink

Comment has been collapsed.

did you do anything to make it work again?

7 months ago
Permalink

Comment has been collapsed.

I do not remember exactly
as usual
all twitched rearranged the plug-in synchronized account, all sorts of stuff.
but the problem was in the incentive (something didn’t work there) - they wrote in the forums ... I don’t find any errors now.

7 months ago
Permalink

Comment has been collapsed.

now not worked from some days ago :-\

5 months ago
Permalink

Comment has been collapsed.

Stopped working

7 months ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 7 months ago.

7 months ago
Permalink

Comment has been collapsed.

not working in waterfox again ,tried with tampermonkey and greasy.

6 months ago
Permalink

Comment has been collapsed.

Tapemonkey-firefox- dont work for now..

6 months ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 months ago.

6 months ago
Permalink

Comment has been collapsed.

I can't get this to work on my work computer, I get the following error:

TypeError: can't convert null to object eval line 3 > Function:184:156
refreshBundles moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:184:156
onload/</< moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:91:25
refreshCards moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:177:9
onload/< moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:90:21
refreshDecommissioned moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:141:9
onload moz-extension://4841121c-0d84-463b-9bdc-ace0d25e4306/userscript.html:89:17
g</< eval:2:479
J/< eval line 1 > Function:31:148

This works on my home computer, same browser and no differences in the script.

6 months ago
Permalink

Comment has been collapsed.

Figured out the issue.
I had copied the script from my home computer where I apparently had all the cached data the script uses and had later turned some things off. My work browser did not have that cached data since things were off from the start so it broke down.

The script might need some work so it doesn't break down simply from turning things off.

5 months ago
Permalink

Comment has been collapsed.

the latest Tampermonkey update makes this not work

4 months ago
Permalink

Comment has been collapsed.

Working here

4 months ago
Permalink

Comment has been collapsed.

hmm, i had to revert back to a different version of TM for it to continue working, is there a way to see what causes it not to work?

4 months ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 months ago.

4 months ago*
Permalink

Comment has been collapsed.

This sometimes works at IndieGala, but not often. Is there some setting that can be changed to fix that?

4 months ago
Permalink

Comment has been collapsed.

If you have endless scrolling via the IndieGala Helper then subsequent pages don't seem to work with this script, and if you have IG Helper set to hide hidden/entered games, the first page might get hidden completely so it won't look like this script is working at all (if you visit individual giveaway pages, it should work there). I dunno if that's the issue you're noticing, and/or if something can be done about that or not (hopefully so).

4 months ago*
Permalink

Comment has been collapsed.

I don't have endless scrolling, but even if it works on page 1 (not often), it won't be on page 2. Sometimes refreshing a lot might trigger it, sometimes not. And the only things I have hidden are games/dlcs that I have selected individually. I'm guessing it is a time thing, but I know nothing :)
It does work on individual ga pages, but I would prefer to see it before I waste time clicking there :)

4 months ago
Permalink

Comment has been collapsed.

I've noticed this with ig gift links; if a link was sent to my email - it works; if I have to access gift link via password - it's not working.

4 months ago
Permalink

Comment has been collapsed.

how to hide owned games?
https://i.imgur.com/eZgS27M.png
to seen only unowned games

"p.s. sorry for bad ebg"

3 months ago
Permalink

Comment has been collapsed.

Try

[...document.querySelectorAll(".swi")].filter(e => e.nextSibling.innerHTML.includes("✔")).forEach(e => {
var el = e;
el.style.display = "none";
while (el.nextSibling && (!el.nextSibling.classList || !el.nextSibling.classList.contains("swi"))) {
if (el.style) el.style.display = "none";
el = el.nextSibling;
}
});
3 months ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 months ago.

3 months ago
Permalink

Comment has been collapsed.

Can you add icon for Low Confidence Metric games, please?

3 months ago
Permalink

Comment has been collapsed.

+1

3 months ago
Permalink

Comment has been collapsed.

After latest update, any site with a lot of store links isn't loading; example oywaykeys works in paged, but when selected all it's not loading, pro-z org doesn't have pages, so it doesn't work at all with script on..

1 month ago
Permalink

Comment has been collapsed.

Same here. It seems it works on initial page load but not on any links that are rendered after page load is completed.

1 month ago
Permalink

Comment has been collapsed.

And the script was just updated to fix this :) very fast! thanks revadike!

1 month ago
Permalink

Comment has been collapsed.

Glad it works now!

1 month ago
Permalink

Comment has been collapsed.

Better now with V1.8.1?

1 month ago
Permalink

Comment has been collapsed.

Ye, this one works. It's slower than 1.7.7 on huge pages, but like I said, it works! :) Thanks :)

1 month ago
Permalink

Comment has been collapsed.

I've done clicking a bit.. and I've noticed one more functionality less than in 1.7.7.. steamlvlup com... when you go to store (initial load) it shows nicely which games you own, however, now with 1.8.1 as soon as you do sorting or search on store, script doesn't do it's work anymore. 1.7.7 was working fine on this site.
On the bright side 1.8.1 (unlike 1.7.7) do work with shitty lazyload from oywaykeys and fixes few posts above mentioned problem with ig gift links ^^.

1 month ago
Permalink

Comment has been collapsed.

I guess it's still not able to detect all dynamic content changes :/
Anyway, you can run it manually now via the script option!

View attached image.
1 month ago
Permalink

Comment has been collapsed.

I was wandering why was that there and what it does despite clear naming :D yea, that helps a bit.

1 month ago
Permalink

Comment has been collapsed.

It's working beautifully on IG giveaways, thank you :)

1 month ago
Permalink

Comment has been collapsed.

It should look even better now!

1 month ago
Permalink

Comment has been collapsed.

Steam Web Integration 1.8.1 in Violentmonkey (source add-on: Chome Web Store) doesn't work. Violentmonkey see script SWI in pages but I don't have markers (I own, I do not have, collector cards, etc.) from the script. I checked both in Opera and Vivaldi. Everything seems to indicate that the script is not compatible with Violentmonkey. Please, do something about it. I sent you an invitation to friends on Steam. If you want, accept it, as soon as I can help.

1 month ago
Permalink

Comment has been collapsed.

I had the same issue with firefox. 1.8.1 + Violentmonkey was just not working no matter what I did. I installed Tampermonkey and 1.8.1 and it worked again.
So now I have Tampermonkey monkey running for one script and violentmonkey running at the same time for the others. It is at least a temporary workaround.

1 month ago
Permalink

Comment has been collapsed.

Added you on steam. Shoot me a message there.

1 month ago*
Permalink

Comment has been collapsed.

Thank you for fixing it.

1 month ago
Permalink

Comment has been collapsed.

New version work in Violentmonkey.

1 month ago
Permalink

Comment has been collapsed.

How to change the background color in the script? On a black background is hard to see :)

1 month ago
Permalink

Comment has been collapsed.

+1

1 month ago
Permalink

Comment has been collapsed.

Maybe this helps?

1 month ago
Permalink

Comment has been collapsed.

Oh, that is excellent, thank you :)

1 month ago
Permalink

Comment has been collapsed.

From what I see from the code, with the current version (1.8.3) you can't change the background of the icons (you can change the color of the icons though).
If you want to remove the new black box, it's enough if you edit the script and change

const boxed = true;

into

const boxed = false;
1 month ago
Permalink

Comment has been collapsed.

Thanks for help, work.

1 month ago
Permalink

Comment has been collapsed.

It's not in the constants at the start, but if you change the RGB values on line 394, it'll get you a different background. This nets a grey background:

const style = boxed ? position: relative; padding: 2px 4px 2px 4px; margin: auto 4px auto 4px; border-radius: 5px; background: rgba(100, 100, 100, 0.7); : ``;

1 month ago
Permalink

Comment has been collapsed.

how to remove barter\steamcardexchange and make it look as it was before without background?

1 month ago
Permalink

Comment has been collapsed.

You edit the script (click on the Tampermonkey icon in your browser and then right click on "Steam Web Integration") and you change:

const boxed = true;
const wantBundles = true;
const wantCards = true;

into

const boxed = false;
const wantBundles = false;
const wantCards = false;
1 month ago*
Permalink

Comment has been collapsed.

worked perfectly - thank you - sorry to have bothered you with this small issue

1 month ago
Permalink

Comment has been collapsed.

can you add this url's to check?
img[src*="steamcdn-a.opskins.media/steam/apps/"],
img[src*="steamcdn-a.opskins.media/steamcommunity/public/images/apps/"],

1 month ago
Permalink

Comment has been collapsed.

You could make a pull request :)
Dont forget to bump the version number

1 month ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.