Enhanced SteamGifts & SteamTrades (ESGST)

An extension / userscript that adds some cool features to SteamGifts and SteamTrades.

If you find any bugs or have any feature requests, please file an issue here.


Compatibility

Tested and confirmed as working:

  • Chrome (since v55)
  • Firefox (since v52)
  • Pale Moon

Not tested but should be working:

  • Any Chromium-based browser (such as Opera, Vivaldi, etc...)

Not supported:

  • Edge
  • Safari

Installation

There are two different ways to use ESGST: extension or userscript. You can choose which one you want to use, but the extension is a lot faster and has a better peformance than the userscript, so I recommend it, although there is no major difference between them, except for a few options that are only available in the extension because of limitations in the userscript.

Option 1 - Extension

It should be possible to install the extension in any Chromium-based browser from the Chrome store (such as Opera, Vivaldi, etc...), any Firefox-based browser from the Firefox store (such as Waterfox, etc...), and any browser that uses the Phoebus system from the Pale Moon store (such as Basilik, etc...).

You can also use the extension on Android through Firefox for Android, but some features might not work or not be optimized enough for mobile.

Option 2 - Userscript

To install the userscript, you must install Violentmonkey, Tampermonkey, Greasemonkey or some other userscript manager first. Then click here and you should be prompted to install it. I recommend Violentmonkey or Tampermonkey, because the userscript uses the GM_addValueChangeListener API to communicate changes in the storage between tabs, and that API is not available on Greasemonkey, so a polyfill is used for Greasemonkey, which is not very effective and can affect the performance.

You can also use the userscript on Android through Firefox with Violentmonkey or USI, but some features might not work or not be optimized enough for mobile.


Beta Versions

The latest beta version for both the extension and the userscript is always available in the latest pre-release in the releases page.

7 years ago*

Comment has been collapsed.

3.0.9 causes an issue with my own SG profile. That specific site (and none other afaik) keeps loading forever. And I can't click any links. The issue disappears when I deactivate your script.

7 years ago
Permalink

Comment has been collapsed.

I have the same issue, resolved when i desactive "Highlight users" in "Not Activated / Multiple Wins Checker"

7 years ago
Permalink

Comment has been collapsed.

Thank you! :)

7 years ago
Permalink

Comment has been collapsed.

Fixed this, so you can re-enable that if you want. :)

7 years ago
Permalink

Comment has been collapsed.

Does it also fix for you if you deactivate the same option that kev3100 did?

7 years ago
Permalink

Comment has been collapsed.

Yes, that fix solves the problem.

7 years ago
Permalink

Comment has been collapsed.

It troubles me that it only happened in your profile. I guess you were unable to open the console to check for any errors?

7 years ago
Permalink

Comment has been collapsed.

I just tried. I manage to open the console, but it remains empty. No errors, nothing at all.

7 years ago
Permalink

Comment has been collapsed.

The only issue is that you can't click any links? Or does the page completely freeze at a certain point?

7 years ago
Permalink

Comment has been collapsed.

The site gets fully displayed, but never stops loading and I can't use any of its links.
Might be that it's a conflict with another script (7 others are active on my profile). I could check that tomorrow if you want. I kind of doubt it though, as they are active everywhere else too.

7 years ago
Permalink

Comment has been collapsed.

It would be nice if you could help me debug it tomorrow then. :)

7 years ago
Permalink

Comment has been collapsed.

Tampermonkey + any script = non responsive.

greasemonkey appears to be working.

7 years ago
Permalink

Comment has been collapsed.

I have a different experience. :P I always use Tampermonkey.

7 years ago
Permalink

Comment has been collapsed.

in chrome ? i never tried it in firefox

7 years ago
Permalink

Comment has been collapsed.

Yep, I don't use Firefox. My guess is it has some bugs on Firefox, since it's quite new there.

7 years ago
Permalink

Comment has been collapsed.

Done. The first I tried now was to deactivate all scripts but yours. Sadly it did result in the very same issue, so a conflict with another script isn't the cause. :(

7 years ago
Permalink

Comment has been collapsed.

I actually found the issue and will be pushing an update soon. :)

7 years ago
Permalink

Comment has been collapsed.

Fixed this, so you can re-enable it. :)

7 years ago
Permalink

Comment has been collapsed.

Thank you! \o/

7 years ago
Permalink

Comment has been collapsed.

  • v3.0.10 Actually now fixed a bug that didn't allow the Whitelist / Blacklist Checker feature to appear in the user's own profile page. Removed icons from the Whitelist / Blacklist Highlighter feature from the whitelist / blacklist pages.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.11 Actually now removed icons from the Whitelist / Blacklist Highlighter feature from the whitelist / blacklist pages.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.12 The script now remembers your choices for the panel checkboxes.
7 years ago
Permalink

Comment has been collapsed.

Please allow an option to interrupt the checking (use a global variable "stop", and check for each new request: if (stop) stop and display results).
Also could you somewhere display the found whitelist and blacklist users? I know I can just download the JSON, but it would be nicer if I can directly see a list :)
Thanks for this awesome script! Really well-coded too!

7 years ago
Permalink

Comment has been collapsed.

I had that idea just a while ago, to add a cancel button to stop the check. Would also probably stop some of the errors people are getting when abruptly interrupting it by reloading the page.

Yeah, I can do that too. Will see if I can include it in the next version.

You're welcome!

7 years ago
Permalink

Comment has been collapsed.

Thanks man!

7 years ago
Permalink

Comment has been collapsed.

Added the cancel button.

7 years ago
Permalink

Comment has been collapsed.

I dont see a button and it always "You are already performing requests. Please wait until they are finished." No matter if reinstall a script or restart a browser.

7 years ago
Permalink

Comment has been collapsed.

Try updating now.

7 years ago
Permalink

Comment has been collapsed.

It worked. Thx.

7 years ago
Permalink

Comment has been collapsed.

And now added the option to see all results from the settings menu. :)

7 years ago
Permalink

Comment has been collapsed.

Thank you! What also would be nice to see is a button or link to this topic and to the direct download (for easy update).

7 years ago
Permalink

Comment has been collapsed.

Done

7 years ago
Permalink

Comment has been collapsed.

Hmm, there seems to be something wrong. I kept track of all the blacklist results manually, but it shows much less than I tracked myself. Do the results reset after a while or after each update?

Edit:
Is it maybe because I changed (!GM_getValue("rhSGST").isChecking) on line 1900 to (true) to allow checking simultaneously on several pages? I didn't change anything else, so that is why it may not have been saved?

7 years ago
Permalink

Comment has been collapsed.

Probably. Please don't check simultaneously on several pages, as it stresses the server.

7 years ago
Permalink

Comment has been collapsed.

I know it does, but I was impatient :/

7 years ago
Permalink

Comment has been collapsed.

Yeah, it's not gonna work, because let's say you are checking pages A and B. Then page A finishes and saves the results. Page B then finishes and saves the results, overwriting any results page A had saved. And retrieving the results from storage before saving might lead to incomplete data and bugs.

7 years ago
Permalink

Comment has been collapsed.

Yeah, I figured. Sorry to bother you with this.

7 years ago
Permalink

Comment has been collapsed.

No problem.

7 years ago
Permalink

Comment has been collapsed.

For some reason checking the pages manually doesn't save the results or something? It's really weird. I keep getting 23 blacklisters, even though I check some that aren't in there and it says they blacklisted me.

7 years ago
Permalink

Comment has been collapsed.

By manually you mean with "Only check x." enabled? If you refresh the page, it still tells you they blacklisted you? If so, there might be a bug in the settings menu.

7 years ago
Permalink

Comment has been collapsed.

Dunno, it's weird. I can't really tell what the exact problem is. But it only seems to save some, but not all. I have 38 blacklisters results now total. Even though I check around 58 blacklisters manually. It seems to save the results if I refresh the page for everyone. So it might be a bug in the settings menu.

7 years ago
Permalink

Comment has been collapsed.

And if you check a list that contains one of those users? Or uncheck "Only check x." in one of the profiles, then check a few, cancel and see if the user appears in the blacklisted section?

7 years ago
Permalink

Comment has been collapsed.

And yes, by manually, I mean "Only check x." enabled.

7 years ago
Permalink

Comment has been collapsed.

Maybe, I am just doing it too fast or something. I did not modify anything in the script though.

7 years ago
Permalink

Comment has been collapsed.

I found the issue, will push an update soon.

7 years ago
Permalink

Comment has been collapsed.

Really? About the main problem? That's great!

7 years ago
Permalink

Comment has been collapsed.

Ah I think I also figured it out. It overwrote the results or something like that, right?

7 years ago
Permalink

Comment has been collapsed.

Yeah, you're checking it in multiple tabs, right? The latest tab was overwriting all the others. It's been fixed to retrieve from storage first at the beginning of each check now.

7 years ago
Permalink

Comment has been collapsed.

Yeah, exactly. It still seems to do it though. Let me double check.

7 years ago
Permalink

Comment has been collapsed.

Nevermind. I had the wrong update. All works now :)

7 years ago
Permalink

Comment has been collapsed.

Yeah, it still seems to do this. Even after the update. I think issue is like this:
I open all user pages I want to check. Each page loads the result I currently have, let's say x. Now I check for each page, the user. After it's done checking it will write x + new results to the global results. But it will overwrite the results I found on the other pages. Because it doesn't check for changes I did from the other pages. So, what you would have to do to fix this, is somehow retrieve the newest global results before saving the new results to the global results.

7 years ago
Permalink

Comment has been collapsed.

Apart from this issue, I also found some other bugs:

  • When showing all results, the last users of the summation of users, displays your icons. I don't think it should.
  • Unchecking check all pages on an user's page (maybe somewhere else too), still retrieves all pages. Example user
7 years ago
Permalink

Comment has been collapsed.

  • I don't understand, can you show an example?
  • Actually "Check all pages." has no effect if "Only check x." is enabled. I'll connect those options to make one hide each other if checked.
7 years ago
Permalink

Comment has been collapsed.

Example: https://i.imgur.com/voUJ9Sm.png (Check the last user in the list, it does that for all 'catagories')

Found yet another bug: It seems "Only check x" won't be remembered if you finish the check, but it does remember if you refresh the page before checking is done. Not 100% sure about this though.

7 years ago
Permalink

Comment has been collapsed.

Hmm that's new, no idea how that could be happening, since those icons are only added when the page is loaded or when endless scrolling support is enabled. o.O I'll check it out.

Weird, it's remembering here. It should not remember if you check / uncheck it while you're running a check though, because that could lead to saving incomplete data to the storage. But now that I think about it, this could also overwrite the results if it's checked at the end of a check. Pushed an update that fixes that.

7 years ago
Permalink

Comment has been collapsed.

Yeah, endless scrolling support was enabled. Thanks for the updates!

7 years ago
Permalink

Comment has been collapsed.

Fixed this, so you can re-enable endless scrolling support. :)

7 years ago
Permalink

Comment has been collapsed.

Also, a silly question: are you refreshing the settings menu?

7 years ago
Permalink

Comment has been collapsed.

Positive.

7 years ago
Permalink

Comment has been collapsed.

It's not a big issue though. I can just visit these profiles and check them to force them in the list :)
However, I didn't manually keep track of the whitelist. But that's alright.

7 years ago
Permalink

Comment has been collapsed.

don't forget about some people not wanting to see blacklists at all too. (not that i'm one, idc really)

there are 3 types of people with the blacklist mentality in those regards. those that don't want to see it all, those that want to know all they can, & those that don't really care either way.

7 years ago
Permalink

Comment has been collapsed.

Don't worry, any results saved as "Blacklisted" are changed to "Unknown" at the moment of showing the results.

7 years ago
Permalink

Comment has been collapsed.

it's really insignificant, but if easy to block yourself from showing whitelisted, it would be a little better. (and not make me laugh occasionally)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Can you add this at the beginning of line 256 and see if it fixes it?

if (Saved.Username == rhSGST.Username) { delete Saved.WBC; }

7 years ago
Permalink

Comment has been collapsed.

yeah, that works. perfect. ^^

7 years ago
Permalink

Comment has been collapsed.

Perfect, pushed the official update.

7 years ago
Permalink

Comment has been collapsed.

  • v3.0.13 Added an option to cancel checks and fixed some English mistakes.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.14 You can now see the overall results of the Whitelist / Blacklist Checker feature in the settings menu.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.15 Added some extra links to the SteamGifts discussion and direct download of the script to the settings menu.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.16 Fixed an issue with the fixed sidebar in short pages.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.18 (Was supposed to be .17. :P) Changed the block yet again because users keep getting the blocked message when they're not performing requests after abruptly interrupting the checker.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.19 Fixed an issue with user notes appearing as "undefined" for users that do not have saved notes in the Permanent User Notes feature.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.20 Fixed a bug that didn't save some results if checked on multiple tabs in the Whitelist / Blacklist Checker feature.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.21 Extended the last fix to the panel checkboxes, to prevent the results from being overwritten if one of them is checked / unchecked at the end of a check.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.22 Fixed a bug with Endless Scrolling Support and the Not Activated / Multiple Win Checker highlighter, and also with the popup results. Fixed a bug that showed that an user had whitelisted themselves.
7 years ago
Permalink

Comment has been collapsed.

  • v3.0.23 Panel now only shows in entries / winners page if "Show in giveaways and discussions." is disabled.
7 years ago
Permalink

Comment has been collapsed.

i like this update. ^^ thanks.

i personally don't care about comment/discussion scans, so this made it look a lot cleaner on giveaway pages. xD

7 years ago
Permalink

Comment has been collapsed.

Yeah, what I wanted to do since the option to disable it in certain pages was suggested was to allow 2 scopes: pages with tables of users, and those without. And I think this update does that. ^^ Well, it's still enabled in the support pages. But even allowing it there at all seems pointless, since people can just go to https://www.steamgifts.com/users/support if they want to check the staff. I'll remove it later.

7 years ago
Permalink

Comment has been collapsed.

oh cool, i didn't even know about the /users/support. there is also /users/moderator (& the single user /users/admin). =)

either way doesn't bother me on the support page though, it's not a frequently visited page to be a nuisance of any kind.

7 years ago
Permalink

Comment has been collapsed.

This is cool, thanks!

But all these new vesions in very short time make me kind of afraid of using such unstable software ;-)

7 years ago
Permalink

Comment has been collapsed.

You're welcome!

Well, it's not like it will do anything to your computer. :P I know there's too many version updates, but I prefer fixing small bugs / adding small improvements one by one instead of putting them all in one big update. Makes it easier to focus on things.

Also, only 3 of the last 10 updates were bug fixes (and one might not even count, since it was more of a prevention update). :P

7 years ago*
Permalink

Comment has been collapsed.

I had to disable it just now because whenever I go in a forum thread or a giveaway that has replies/comments the page just freezes and won't let me scroll. I wasn't whether or not it was this script but after disabling and enabling it again multiple times and trying again I'm pretty sure it's this script that's causing the issue. I'm using Chrome btw and it's up to date.

7 years ago
Permalink

Comment has been collapsed.

Are you using v3.0.23?

7 years ago
Permalink

Comment has been collapsed.

Well, I had updated it earlier, or so I thought, but apparently, something went wrong and it didn't update. Anyways, it's working again. Thanks. =)

7 years ago
Permalink

Comment has been collapsed.

Glad to hear that. You're welcome. :)

7 years ago
Permalink

Comment has been collapsed.

Hi,
I got an idea for a new feature. If one placed their cursor over an avatar or nick, it could show some quick info about the user. The info could be, for example, ratio, won GAs, sent GAs, Contributor level, and so on.

It would be even better if one could choose in settings what they want to see there.

BTW the ratio could be shown also in profile as another feature either way.

7 years ago
Permalink

Comment has been collapsed.

Yeah, I plan on taking a look at something like that later. :)

7 years ago
Permalink

Comment has been collapsed.

I like this idea, but I think the info is too much for a tooltip.

Another thing which could be interesting is a detailed breakdown about the number and type of giveaways the user created (e.g. how many public L0 ones, how many whitelist ones).

7 years ago
Permalink

Comment has been collapsed.

I actually thought of a popup (not like the one for the checkers, just a popup box below the avatar) instead of a tooltip. We'll see.

7 years ago
Permalink

Comment has been collapsed.

i'd guess it would be something fairly similar to this (or at least same style popup, maybe not same info or style)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

This has been added. By ratio you mean real ratio?

7 years ago
Permalink

Comment has been collapsed.

Yes I noticed that, that's wonderful, thanks. Good work!

You can add as many ratios as you want. Sorry I don't know all the kinds of ratios. I meant just the classic gifts send/gifts won, so if one sent 10 games and won 5 games, their ratio would be 2. :)

7 years ago
Permalink

Comment has been collapsed.

the rulecheck highlighting combined with list scan 'is/was/will be' so nice.. and i know it was harsh on the sgtools servers, but in the end it will save their bandwidth too really. now when a batch of group/whitelist GAs end, i just know right then and there if i can send it (green font users) or look into when their rulebreaks happened and decide (red font users). rather than before, even in group, unless i memorized if they passed or failed i had open up those 2 rulecheck pages even if they had just won the week before and i checked.

green - send, green - send, green - send, red (but i remb. it was 2year old infraction) - send, green - send. xD

7 years ago
Permalink

Comment has been collapsed.

What could also help you is user tags, by adding a tag to red users whose infractions are years old so you don't have to remember all of them. xD

The problem with SGTools is that its results are live and I thought they were cached. So not only was it stressing SGTools, but it was also stressing SG. I'm still waiting on an answer from knsys, but I do hope he allows it only in the winners page. That sure would reduce the load, I think.

7 years ago
Permalink

Comment has been collapsed.

yeah, i may actually start using the tags specifically for that reason.

that's really the only place it "needs" it, well beyond the individual checker that's still on profile pages. but ofc the list scanning was great just to compile your own small database of that info for future reference, but more of a "want" then needed.

7 years ago
Permalink

Comment has been collapsed.

Hmm, I found a bug. If I reply to a message in /messages, I can't reply to that reply I just made. Maybe something to look into.
Also I just noticed this in your JSON: https://i.imgur.com/EVByOYk.png
Is this normal? Are those subgiveaway id's or something?
Another bug I found was while testing out the AppID archive searching. It seems you forgot to add steamcommunity.com to @connect. This happened when clicking the search icon: https://i.imgur.com/8c6dVqo.png. I guess normally Tampermonkey would ask if I would allow this domain, but that didn't happen for me.

It would be cool if the checker could somehow highlight new findings to see if you discovered something that you hadn't discovered before :)
Another suggestion. May be a bit controversial. But if we are browsing the discussions, could you scan the discussions for [href*=/giveaway/]'s and add a tag/icon to the titles? I think it would be nice to see which topics have giveaways in it. Maybe also track which ones you already entered.

Anyway, I could help you out with the coding if you want. Maybe even merge all our userscripts into one (using your beatiful code as base). I think that would be more convenient for the users, as well as, easier for the users to discover these features (one userscript is more discoverable than several). Let me know what you think about it.

7 years ago*
Permalink

Comment has been collapsed.

Yeah, the whole reply feature is a bit bugged at the moment (also the reason why Better Replies is currently disabled), since it's still from the old version of the script. I'm re-coding it right now.

Those are the groups of all whitelist / group giveaways of that user. The script cross-checks the groups you're in with those groups to determine if you're whitelisted, if no whitelist only giveaway was found.

I'll look into the highlighter later, but I'm not too fond of the discussion idea, since it would require to request all discussions in the page.

Maybe in the future, thanks for the offer. :)

7 years ago
Permalink

Comment has been collapsed.

Oh and thanks for letting me know. Better Archive Search is also from the old script, so I haven't touched it in ages (it's even still in jQuery). I should get to re-coding it after I'm done with Better Replies.

7 years ago
Permalink

Comment has been collapsed.

Hmm, why don't you use jQuery anymore?

7 years ago
Permalink

Comment has been collapsed.

I just wanted to stick to native Javascript. Figured I'd learn more by doing it the hard way. Plus jQuery is not very visually appealing to me.

7 years ago
Permalink

Comment has been collapsed.

Alright, fair enough! :)

7 years ago
Permalink

Comment has been collapsed.

Left margin to main content is not added when fixed sidebar is enabled and other fixed elements are disabled.

7 years ago
Permalink

Comment has been collapsed.

Fixed

7 years ago
Permalink

Comment has been collapsed.

  • v3.0.24 Fixed a bug with the main content not displaying properly when sidebar was enabled and header / footer were disabled in the Fixed Elements feature.
7 years ago
Permalink

Comment has been collapsed.

  • v3.1 Added Giveaway Winners Button feature. Not Activated / Multiple Wins Checker is back for lists, but only for the winners page (it's also the default checker there) and it only checks the current page you're in. Newly found users now have an asterisk next to their name in the checkers. Improved some other things.
7 years ago
Permalink

Comment has been collapsed.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

  • v3.1.1 Changed the color of the individual results in the Not Activated / Multiple Wins Checker feature.
7 years ago
Permalink

Comment has been collapsed.

the results popup page links for those that have un-activated (and possibly multi-win / untested) is adding the # that they failed with to the link that shouldn't be there.

annonymized example: http://sgtools.info/nonactivated/usernamehere%20(1)

7 years ago
Permalink

Comment has been collapsed.

Fixed

7 years ago
Permalink

Comment has been collapsed.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.