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.

I've realized that bookmarked GAs which I have already joined, do not show the bookmark symbol before the game's name when visiting its page again.
Also, were bookmarked and entered GAs "greyed-out" in the bookmark list before? Or that behaviour happened only in train extractor?

7 years ago
Permalink

Comment has been collapsed.

Bookmarked giveaways get automatically unbookmarked when you enter them. Is that what you mean?

Giveaways are only greyed out if Giveaways/Discussions/Tickets/Trades Tracker is enabled and you have visited the giveaway.

7 years ago
Permalink

Comment has been collapsed.

They do not (in my case at least). Under "Giveaway Bookmarks" there's only the option to "Automatically unbookmark ended giveaways", not entered ones. Is there another option I may have unchecked in the past that I failed to see this time?
Not that i want to unbookmark them as I enter, as I keep some to bump thread near their ending time :)
There, added a gif to better explain what I mean.

I do not have that option active but I can see GAs faded in train extractor if I've already entered them (entered as in joined the GA, not just visited the page). This doesn't happen in the bookmark list..
and I've also just noticed that (in train extractor) already-joined GAs do not have the bookmark symbol near their name, while the others do.
Could it be the same "problem"? like, joined and bookmarked "classes" are incompatible?

View attached image.
7 years ago
Permalink

Comment has been collapsed.

The problem with them not being automatically unbookmarked is that it currently only works when using the enter button from Enter/Leave Giveaway Button, I'll extend it to SG's native button later.

The second problem is not a problem, the bookmark button does not appear for entered giveaways.

6 years ago
Permalink

Comment has been collapsed.

Hi all,

I entered DLC giveaways many times by mistake. Worst I've won them many times and had to request a re-roll.
Is there a way to make sure owned DLCs are filtered out ?
If not, is there a way to filter out ALL DLCs ?

Thanks <3
Enissay

7 years ago
Permalink

Comment has been collapsed.

Have you looked at Game Categories + Giveaway Filters?

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

6 years ago*
Permalink

Comment has been collapsed.

Haha it happens. :)

I don't see how that would be an actual issue, if you open a link in the same window when using endless scrolling, it will of course not remember where you were.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

6 years ago
Permalink

Comment has been collapsed.

At least on (old) FF (with TabMixPlus) this is a browser setting

6 years ago
Permalink

Comment has been collapsed.

I don't like that idea. You can just right click on a link to open it in a new tab or middle click it or ctrl + click it.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

6 years ago
Permalink

Comment has been collapsed.

Is it for all links or only for giveaway links that you want it?

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

6 years ago
Permalink

Comment has been collapsed.

I could add a feature that opens all links in the page in a new tab, and then add an option to restrict it only for giveaway links, if all links are an issue for you.

6 years ago
Permalink

Comment has been collapsed.

Bug when checking WLs hangs on group GAs with

ReferenceError: callback is not defined     ESGST.user.js:26528:25

at

setTimeout(getWBCGroupGiveaways, 0, WBC, ++I, N, wbc, username, callback);

seems callback needs a big C

6 years ago
Permalink

Comment has been collapsed.

Already fixed for v7.9.0.

6 years ago
Permalink

Comment has been collapsed.

The new update looks amazing! (especially the feature filter)
Thank you for spending so much of your free time on improving the script <3

6 years ago
Permalink

Comment has been collapsed.

+1 Great update!

6 years ago
Permalink

Comment has been collapsed.

:)

6 years ago
Permalink

Comment has been collapsed.

Hi rafaelgs18, i got a little suggestion. Could there be an option to show the scroll to top button in the main page header? Thanks for all your work.

6 years ago
Permalink

Comment has been collapsed.

Sure

6 years ago
Permalink

Comment has been collapsed.

Bug 1: Scroll to bottom button only scrolls to the bottom of the first page when endless scrolling is enabled. Even after the browser has automatically loaded in the second page, it doesn't scroll further down when clicking the button again.
Suggestion: Besides the fix of the button only working once and only for the first page I'd like it if it scrolled to the actual end when endless scrolling is enabled. On e.g. discussion pages that should be all pages available. On the "entered" page with the "ended" filter set to "hide all" a click on the "scroll to bottom" button should load in all pages of GAs entered and stop loading further pages once the first ended giveaway shows up (just like the loading stops anyways with in this situation while manually scrolling)

Bug 2: The search in the settings doesn't work - I can type in whatever I want, hitten the enter key does nothing. No search is performed.

6 years ago
Permalink

Comment has been collapsed.

Check for console errors on bug 2.

6 years ago
Permalink

Comment has been collapsed.

That's all the errors I got.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Thanks, I have a theory that it might be because you don't use ST, so the Trades section is missing and the script isn't checking for that, will confirm and fix later.

6 years ago
Permalink

Comment has been collapsed.

ST as in Steamtrades? I actually am registered over there.

6 years ago
Permalink

Comment has been collapsed.

It's not about being registered there, it's about having the script enabled for it (Others.1).

6 years ago
Permalink

Comment has been collapsed.

I see, thanks.

6 years ago
Permalink

Comment has been collapsed.

You already requested the option to automatically load in pages with Endless Scrolling before, that does not fit in Scroll To Bottom Button at all. And that request is not something that I plan on adding at the moment, because it would be too complex.

6 years ago
Permalink

Comment has been collapsed.

That's right, I requested that. This one was mostly about the button only working once though. Which - with the update yesterday - seems to have been fixed. At least it worked last night when I tried and I could click it multiple times to actually get to the end of the active GA list. Thanks.

Just wondering though: If the script would send multiple virtual page down button presses - after actually clicking on the to the bottom arrow - until the fist page with not yet ended GA gets loaded, that would do the trick... and - to me - that doesn't sound too complex. Sure, I might be completely wrong with that assumtion.

6 years ago*
Permalink

Comment has been collapsed.

Like I said, it would make no sense to include that feature in Scroll To Bottom Button, as it's a subset of Endless Scrolling, and the complexity would be with determining where to trigger it and where to stop (each user would probably want it to behave differently), but like I told you in another comment I think the way I implemented is the best and less complex one, because you can pause it when you want to and you can use it only when you want to.

6 years ago
Permalink

Comment has been collapsed.

Whatever works for you... the solution certainly worked for me.

6 years ago
Permalink

Comment has been collapsed.

Wow, just wow. Had to comment that the latest update is just amazing. ESGST is so pro now. You deserve infinite happiness revilheart. :)

6 years ago
Permalink

Comment has been collapsed.

You as well. :)

6 years ago
Permalink

Comment has been collapsed.

I was wondering if you would consider reducing the size of the icon in the GA extractor pop-up (and perhaps other pop-ups).

Currently, the icon and the header take up about a third of the entire window on my screen. It would be great if the scrolling area took up a larger part of the pop-up window. An alternative to this is to put the icon and header within the scrolling area so that it does not prevent that area from covering the entire window.

Thanks for our consideration!

6 years ago
Permalink

Comment has been collapsed.

I had actually thought about removing the icon/heading part altogether, as they don't seem that necessary for me.

6 years ago
Permalink

Comment has been collapsed.

That's probably fine too. The only reservation I would have with that is that you wouldn't be able to tell the difference between a GA extractor window and a decrypted GA window.

This actually brings up another thing I had thought about... Why not just combine these two things? Color the decrypted GAs differently in the GA list. If you did this, then there would be only one window type with no need to differentiate (unless there are others that I don't use and am unaware of).

Clicking on the "GA extractor" button or the "view your decrypted GAs" star button would do the exact same thing (the star would only appear if there were encrypted GAs). Maybe even get rid of the star at the top all together (some people may not like that, however).

But maybe this won't work because I think the GA decrypter may cache GAs from other pages (at least I think it has done this in the past, I am not sure if this was a feature or a bug).

6 years ago
Permalink

Comment has been collapsed.

Hmm, that's a good point, maybe I'll just make it scrollable then, or reduce its size, because some popups have a fixed part before the scrollable area and adding the header to it wouldn't look good.

Put the encrypted giveaways in the extractor? Sorry, that makes no sense for me. For starters, the extractor button only appears in pages with giveaways and has a very specific function.

Yes, the decrypter saves all giveaways you have decrypted, it's not a bug.

6 years ago*
Permalink

Comment has been collapsed.

See how it is on the new version.

6 years ago
Permalink

Comment has been collapsed.

Looks good. Thanks.

6 years ago
Permalink

Comment has been collapsed.

I really try but just can't find how do active tags in Extract giveaways and Bookmarked giveaways :/

6 years ago
Permalink

Comment has been collapsed.

What? You mean Game Tags?

6 years ago
Permalink

Comment has been collapsed.

Should be fixed in the new version.

6 years ago
Permalink

Comment has been collapsed.

Extractor display bug:
Testing the extractor as overlay there's a problem with the dynamic window size which pushes the settings so close together that not every setting can be reached anymore. E.g. in the screenshot below, you can't click on the trading cards filter anymore.
I'd suggest either a fixed size (which might be a problem on small screens) or a rearrangement of things where the descriptions on the far right are right below the category filters instead; or completely replaced by a big round icon with a questionmark which on mouseover gives the legend information.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

I have something else in mind to fix this issue.

6 years ago
Permalink

Comment has been collapsed.

Soory, was too busy yesterday to reply.

Alright. Great!

6 years ago
Permalink

Comment has been collapsed.

Should be good in the new version.

6 years ago
Permalink

Comment has been collapsed.

Yep, seems fixed. Thanks!

6 years ago
Permalink

Comment has been collapsed.

I reseted all setting on ESGST and now it not load users info when hovering on their nicknames. Please, tell me where this in options?

6 years ago
Permalink

Comment has been collapsed.

General > Avatar Popout

6 years ago
Permalink

Comment has been collapsed.

It not working on nicknames for me.

6 years ago
Permalink

Comment has been collapsed.

Neither for me, looks like a bug.

6 years ago
Permalink

Comment has been collapsed.

Fixed now, thank you,

6 years ago
Permalink

Comment has been collapsed.

Bug report: the function "Giveaway Bookmarks -- 2. [NEW] Show the button for entered giveaways".
Mark and unmark the giveaway multiple times, and then press the enter button, there will be multiple bookmark symbols.

6 years ago
Permalink

Comment has been collapsed.

Not entirely sure but it seems the Giveaways Extractor button doesn't appear anymore.

6 years ago
Permalink

Comment has been collapsed.

Shows fine for me. Can you link a thread where it happens?

Maybe it's just not in the usual place for you? v7.9.0 resetted the positions of the buttons in the main page heading by alphabetic order, since you can now order them yourself.

6 years ago
Permalink

Comment has been collapsed.

ah I mistyped, Decrypter not Extractor

6 years ago
Permalink

Comment has been collapsed.

Can you link a thread where it happens? The button is there for me as well.

6 years ago
Permalink

Comment has been collapsed.

This thread here too, on the first page has some and it always showed up the icon but doesn't anymore.

6 years ago
Permalink

Comment has been collapsed.

The first page of this thread has no encrypted giveaways (they weren't even available back then). Are there errors in console?

6 years ago
Permalink

Comment has been collapsed.

errors in console

no, found again the thread where I noticed it, 2nd comment

https://www.steamgifts.com/discussion/ZVbFv/formula-one-monaco-grand-prix

star shows up and opens the ga, but the button on the top menu bar besides the bookmarks is gone

6 years ago
Permalink

Comment has been collapsed.

Weird, the star turns green fine for me.

6 years ago
Permalink

Comment has been collapsed.

Did you decrypt that giveaway before? Because if so, the star really doesn't show up, as the giveaway has ended.

6 years ago
Permalink

Comment has been collapsed.

Did you decrypt that giveaway before

don't remember,
wasn't the star button at the top supposed to be always at least displayed?

6 years ago
Permalink

Comment has been collapsed.

Not if all decrypted giveaways have ended.

6 years ago
Permalink

Comment has been collapsed.

ah ok, guess I need to find a new one

6 years ago
Permalink

Comment has been collapsed.

After the last update, saving a game tag rolls forever. Tested it in one FF tab, it is still rolling.
If I click away from the pop-up and refresh the page, the actual tag is saved.

Thank you once again for the immense work you put in for us to have an amazing SG experience 💓

6 years ago
Permalink

Comment has been collapsed.

Previously won filter doesn't show/filter when selected

6 years ago
Permalink

Comment has been collapsed.

Unfortunately this one is hard for me to test at the moment. Are the giveaways detected as previously won by the script (i.e. there is no enter button for them if you enable Enter/Leave Giveaway Button)?

6 years ago
Permalink

Comment has been collapsed.

there is no enter button for them

isn't that based solely on 'owned' detection?

6 years ago
Permalink

Comment has been collapsed.

No, it's based on owned, previously won and level.

6 years ago
Permalink

Comment has been collapsed.

adding previously won to categories would help
see no way to quickly test it on demand now otherwise

6 years ago
Permalink

Comment has been collapsed.

A game can only stay in the previously won state for a week, and games are usually delivered before that, so I see no point in adding a category for it, as it will go to the owned state soon.

But you can test it: just enable Enter/Leave Giveaway Button and see if the giveaway has the enter button. If not, it's because it's detecting the previously won state and the filters aren't working. Otherwise it's because the previously won state is not even detected.

You can also go to the debug menu and enter alert(esgst.giveaways["XXXXX"].won);, replacing XXXXX with the giveaway code.

6 years ago
Permalink

Comment has been collapsed.

But you can test it

that would require finding a running GA that is not already seen as owned.

A game can only stay in the previously won state for a week

So it's only for those not marked as received yet?

6 years ago
Permalink

Comment has been collapsed.

I thought it's for all previously won ones (which means it likely works as intended).
Would be a useful addition to filters+categories. I'd need it for 2 cases: Sam & Max games don't get detected as owned (+few others) and to filter lists (group/user) for those (as a quality evaluation of sorts).

6 years ago
Permalink

Comment has been collapsed.

No, it's for games you won but have not received yet, so that you don't see giveaways for them, because as they are not owned yet they cannot be filtered otherwise.

6 years ago
Permalink

Comment has been collapsed.

Yeah, false alarm then. But consider it a feature request for a full version of it ;-)

6 years ago
Permalink

Comment has been collapsed.

Are the Sam & Max games also not detected using a Steam API key?

6 years ago
Permalink

Comment has been collapsed.

yep, those are completely screwed

6 years ago
Permalink

Comment has been collapsed.

I noticed that when I export [URL] from the giveaways manager, the URL has the first part repeated, like:
https://www.steamgifts.comhttps://www.steamgifts.com/giveaway/yWJgn/prehistoric-tales

I'm using the extension in Chrome

6 years ago
Permalink

Comment has been collapsed.

I cannot reproduce, are you doing this?

[LINE][URL][/LINE]
6 years ago
Permalink

Comment has been collapsed.

Yes, exactly that. I just tried on a different computer, with the userscript + tampermonkey, and it does work properly. But on my usual computer (using the extension in Chrome) it has the weird format. Maybe I'll try to uninstall and reinstall it. Thanks :)

6 years ago
Permalink

Comment has been collapsed.

Does it happen in a specific page?

6 years ago
Permalink

Comment has been collapsed.

I'm usually using the giveaways manager on the create giveaway page, after using the bulk giveaways creator. But as far as I can remember it happened on my giveaways page as well.

6 years ago
Permalink

Comment has been collapsed.

Hmm, I can see how it could be happening, I'll add a prevention method to the next version just in case.

6 years ago
Permalink

Comment has been collapsed.

Thanks! I will be back and can try it after tomorrow :)

6 years ago
Permalink

Comment has been collapsed.

I just tried and it seems to be working now. Thank you again for your quick work! :)

6 years ago
Permalink

Comment has been collapsed.

The ability to remove a game from the entered giveaways highlighter seems to have stopped working with the latest version. Clicking on the star icon next to the game name gives the following error:

Uncaught TypeError: Cannot read property 'classList' of undefined
    at unhighlightEghGame (eval at E_c (:3:298), <anonymous>:27505:19)

Thanks!

6 years ago
Permalink

Comment has been collapsed.

Filters for "extractor" do not worked properly. Not hides owned / ignored games.

6 years ago*
Permalink

Comment has been collapsed.

Are your owned/ignored games synced through ESGST?

6 years ago
Permalink

Comment has been collapsed.

Scroll to top and to bottom buttons don't show for me anymore.
The .div for both of them exists in the console.

6 years ago
Permalink

Comment has been collapsed.

Did you check what option they are under in the settings menu? You can now select between bottom right corner, main page heading and footer.

6 years ago
Permalink

Comment has been collapsed.

Both are by default "Show in: Bottom Right Corner"

Just saw this. The cursor shows that it's clickable, but it isn't. There are no errors in the console.

View attached image.
6 years ago*
Permalink

Comment has been collapsed.

Are there errors in the console?

6 years ago
Permalink

Comment has been collapsed.

No. There are no errors in the console.

Made some tests.
Both options are OK if I choose "show in page heading" and " - in footer"
So I guess the bug is with "show in bottom right corner" setting.

6 years ago
Permalink

Comment has been collapsed.

am i correct that one should change rafaelgs18 to revilheart in github links in features list?

6 years ago
Permalink

Comment has been collapsed.

Yes, but you can also access it from https://github.com/revilheart/ESGST/blob/master/README.md and it's outdated anyway.

6 years ago
Permalink

Comment has been collapsed.

Then maybe change it to only link to readme.md for the features. At the moment some new users may skip the addon or think it's abandoned because of the not working links.

6 years ago
Permalink

Comment has been collapsed.

I ended up just getting over my laziness and correcting the links. Most of them point to nowhere though, since most features are not documented on the README file, but I'll be slowly adding them this week.

6 years ago
Permalink

Comment has been collapsed.

strange, in chrome/tm endless scrolling doesn't appear, with this error

 ERROR: Execution of script 'ESGST' failed! Cannot read property 'spigias' of undefined

(error shows w/o endl.scr enabled too)

6 years ago
Permalink

Comment has been collapsed.

That's the entire error? Not even a line number or where it originated from?

6 years ago
Permalink

Comment has been collapsed.

yeah, it's weird and only happens on C/TM, none on O/Ex or FF/GM

6 years ago
Permalink

Comment has been collapsed.

Still happening?

6 years ago
Permalink

Comment has been collapsed.

yep

6 years ago
Permalink

Comment has been collapsed.

In every page?

6 years ago
Permalink

Comment has been collapsed.

on every with users it seems, property name changes

6 years ago
Permalink

Comment has been collapsed.

Without more information about the error, like the line where it originated from, I'm not sure we can find the cause. But I think it could be originating from loadUserFeatures, as that function handles the user features. Can you try disabling user features until you find the one that could be causing it?

6 years ago
Permalink

Comment has been collapsed.

disabling user features

were already

On that install I have only like 7 options enabled, heh

Disabled all, still happens. Data corruption might be it.

6 years ago
Permalink

Comment has been collapsed.

yep, can't delete user data

Uncaught TypeError: Cannot convert undefined or null to object
at manageData (eval at E_c (:3:298), <anonymous>:33525:80)
at Popup.popup.onClose (eval at E_c (:3:298), <anonymous>:32443:17)
at Popup.close (eval at E_c (:3:298), <anonymous>:1430:22)
at eval (eval at E_c (:3:298), <anonymous>:32435:19)
at ButtonSet.toggle (eval at E_c (:3:298), <anonymous>:1128:17)
at HTMLDivElement.ButtonSet.button1.addEventListener (eval at E_c (:3:298), <anonymous>:1116:63)
6 years ago
Permalink

Comment has been collapsed.

What do you get in the console if you go to the debug menu and enter console.log(esgst.users);?

6 years ago
Permalink

Comment has been collapsed.

nothing, it doesn't execute the command or any other

6 years ago
Permalink

Comment has been collapsed.

When you click debug nothing happens? No errors in the console either?

6 years ago
Permalink

Comment has been collapsed.

yep, several features don't load at all too
I'll just delete it

6 years ago
Permalink

Comment has been collapsed.

Weird, I hope other users aren't affected, it started after an update or just randomly?

6 years ago
Permalink

Comment has been collapsed.

didn't use it for longer, can't really say

6 years ago
Permalink

Comment has been collapsed.

So, I've encountered a really weird bug where all my bookmarked giveaways show up as entered in the bookmark popup (see fig.A) but not when I go to the actual giveaway (see fig.B). Also, this only seems to be the case when browsing giveaways (All/Wishlist/Recommended/Group/New). Console says:

Loading failed for the <script> with source “https://cdn.steamgifts.com/js/prebid_v3.js”.

View attached image.
View attached image.
6 years ago
Permalink

Comment has been collapsed.

6 years ago
Permalink

Comment has been collapsed.

6 years ago
Permalink

Comment has been collapsed.

thank you so much, i had this as well!

6 years ago
Permalink

Comment has been collapsed.

Is Reduced CV Games updater stuck? Doesn't catch 5+ days ago bundled games.

6 years ago
Permalink

Comment has been collapsed.

The API shows games added yesterday: https://script.google.com/macros/s/AKfycbwJK-7RBh5ghaKprEsmx4DQ6CyXc_3_9eYiOCu3yhI6W4B3W4YN/exec?name=1&recent=1 I also just synced and searched for Space Girls on the main page as an example and it shows the category correctly. Are you sure you've synced?

6 years ago
Permalink

Comment has been collapsed.

yes, Valley is missing

6 years ago
Permalink

Comment has been collapsed.

Fixed

6 years ago
Permalink

Comment has been collapsed.

👍

6 years ago
Permalink

Comment has been collapsed.

I'm experiencing a bug with bookmarked giveaways. I can bookmark giveaways without a problem, but when I click the bookmark icon in the website header, ESGST shows the Leave button for each bookmarked giveaways, despite the fact that I haven't entered any of the bookmarked giveaways. The bookmark giveaway settings I have enabled are:

2-9. Giveaway Bookmarks = ON
2-9-1. Highlight button when giveaways about to end = ON (12 hours)
2-9-3. Unbookmark entered giveaways = ON
2-9-4. Automatically unbookmark ended giveaways = ON

6 years ago
Permalink

Comment has been collapsed.

Already reported and fixed in the next version, which I'll try to release today.

6 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.