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.

all the Feature links in the OP appear to be broken.

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

Yep, I figured that out, but thank you for the reply! I also saw the detailed descriptions in the Github readme.

7 years ago
Permalink

Comment has been collapsed.

Can you help me with 2 aspects of the tool?

  1. Can you explain to me what "discussion tables" are? I don't see a description.
  2. How do I enable a "Bundled" tag under the Game Categories setting. It is shown in the screenshots on the github page but I don't see it in the settings.
7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

  1. I see it now. Thanks for telling me where to look!
  2. Okay, so it no longer will say Bundled but will instead say Full/Reduced/No CV. Not as pretty, but I guess that works.

Thank you!

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

Thanks! 💙

7 years ago
Permalink

Comment has been collapsed.

Yeah, because cg himself changed the nomenclature of the categories, but you can customize the labels all you want in the settings menu.

7 years ago
Permalink

Comment has been collapsed.

Would it be possible to implement a way to hide individual giveaways? It's a feature I've been sorely missing for some time and it seems there's no addon/script that provides it. It was on SG+'s roadmap before it was abandoned years ago, and it seems no one ever picked up the idea after that.

7 years ago
Permalink

Comment has been collapsed.

Already exists. It's a part of Giveaway Filters.

7 years ago
Permalink

Comment has been collapsed.

Oh, my. Well that's embarrassing. I searched through the settings multiple times before posting here, it seemed like something that'd probably be already implemented given the enormous quantity of other features available. Somehow I never thought to look under Giveaway Filters. Seems so obvious now.

Anyway, thank you very much!

7 years ago
Permalink

Comment has been collapsed.

You're welcome!

7 years ago
Permalink

Comment has been collapsed.

All under "Features" link now to a 404 error site (only for info for you =) )

7 years ago
Permalink

Comment has been collapsed.

Yeah, I'm too lazy to fix it right now. :P

7 years ago
Permalink

Comment has been collapsed.

I had this configured under greasemonkey and today firefox updated to version 57 which made it not work. I've installed tampermonkey and reinstalled the script, but lost all the settings. Any chance of restoring them you can think of?

7 years ago
Permalink

Comment has been collapsed.

firefox 57 will only be released on november, you may be using a nightly version

and regarding restoring the data/settings load the profile using FF 56 or 55 and export your data using the export option of the script

7 years ago
Permalink

Comment has been collapsed.

That might work, thanks.

7 years ago
Permalink

Comment has been collapsed.

Just export from Greasemonkey and import into Tampermonkey, or was GM wiped when you updated? If you never exported your data before and GM is gone, there is nothing you can do.

7 years ago
Permalink

Comment has been collapsed.

GM is disabled and I can't access the scripts via menu. I'll try loading my ff profile with an older ff version as someone else suggested.

7 years ago
Permalink

Comment has been collapsed.

I have one suggestion if that is alright. I noticed you added option "[SG] - Show the basic ratio along with the advanced one (the advanced ratio will appear in a parenthesis: "Basic% (Advanced%)")." and it is wonderful! Could you also add this same thing for winning chance?

7 years ago
Permalink

Comment has been collapsed.

Umm those both have the same settings.

7 years ago
Permalink

Comment has been collapsed.

Oh, damn stupid me :\ I did not press the use advanced formula button. Sorry for this stupid post, should check more clearly before posting it seems. And thanks for the quick answer! :]

7 years ago
Permalink

Comment has been collapsed.

New search parameters you may want to add to the advanced search ;)

7 years ago
Permalink

Comment has been collapsed.

Check :)

7 years ago
Permalink

Comment has been collapsed.

Where are settings saved? I had to use a backup of my Firefox profile because something got screwed up somehow. Now all my script settings are reset.

I backed up the entire messed up profile before doing anything, so I still have the right settings for ESGST (and all other scripts) somewhere in that backup. I just don't know where to find them.

Are all Greasemonkey script settings stored in the same area?

Edit: A lot the scripts and folders in the gm_scripts folder that marlop mentioned (thanks, marlop) have duplicate files/folders with a -1 at the end. For example there's an ESGST and ESGST-1 folder, and a ESGST.db and ESGST-1.db.

I don't know if that's something Firefox did. I don't think I copied anything to that folder when I moved the backup profile over.

Any ideas what to do about those -1 folders and -1.db files? All the -1 stuff has a modified and created date from today.

The not -1 stuff has various dates which match the dates from the messed up profile backup. So those all should be the right stuff and they're in the gm_scripts folder already.

I think it's the -1 files which may be messing everything up, but at the same time I don't know if deleting them could screw things up further.

7 years ago*
Permalink

Comment has been collapsed.

greasemonkey scripts data: C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\gm_scripts

though some ESGST data is saved in the localstorage, i'm not sure on how to recover that part of the data, rafael may know

7 years ago
Permalink

Comment has been collapsed.

Some data is stored in that .db file (pretty much all data that is shared between SG and ST - settings, user data, etc...) and the other is stored in the localStorage of the browser (all data that is only relevant for one of the websites - giveaways data, comment tracker data, etc...). Can you check your localStorage to see if your data is there? You could backup the files and rename the ones without "-1" to "-1", replacing the other data, to see if it comes back.

7 years ago
Permalink

Comment has been collapsed.

Did the entry remover stop working while you do sync? Google Chrome latest version

7 years ago
Permalink

Comment has been collapsed.

v6.Beta.35.2 (September 13, 2017)
Removed the following features:
Entries Remover - Implemented on SG.

7 years ago
Permalink

Comment has been collapsed.

Thanks for the answer, but SG doesn't show the games removed. I quite liked that feature tbh

7 years ago
Permalink

Comment has been collapsed.

Is that really needed? I feel like it was with the script, because the script could make mistakes, so you could check manually if it really removed what it was supposed to remove, but I'd think the SG implementation is very reliable, so why would it be relevant to know which specific entries were removed?

7 years ago
Permalink

Comment has been collapsed.

Really needed probably not. I just liked the visual representation of the games I added being removed on SG soon afterwards, now I just see the points rise. But nvm, thx for the response, I'm sure you have other build sites in your script, which is awesome btw. Great job!

7 years ago
Permalink

Comment has been collapsed.

Other build sites?

7 years ago
Permalink

Comment has been collapsed.

Sorry, bad phrasing, from a local (german) saying.
I basically meant I'm sure you have other bugs and whatnot to worry about in your script.
Sorry for the confusion

7 years ago
Permalink

Comment has been collapsed.

[Suggestion]
Can you make an option to redirect "Steam Group" default steamgifts page to steamcommunity page

Ex: redirect this to this

if you have time and not bothersome to implement

7 years ago
Permalink

Comment has been collapsed.

Just click the Steam icon in the group page.

7 years ago
Permalink

Comment has been collapsed.

Do not send if the winner has a gift difference lower than "8"

Failed to send because of -3.9 difference

7 years ago
Permalink

Comment has been collapsed.

Did it work before with negative numbers?

But shouldn't it fail to send? -3.9 is lower than 8.

7 years ago
Permalink

Comment has been collapsed.

i honestly have no idea at all anymore. sorry. that's what i get for only messing with SG first thing in the morning only once every 3-4 days.

it's probably fine as it is.

7 years ago
Permalink

Comment has been collapsed.

Yeah, noticed you're not as active lately.

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

More details? Does it happen when opening the page? Is it related to Endless Scrolling? Could it be a conflict with another script?

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

7 years ago
Permalink

Comment has been collapsed.

I figured, I didn't recognize that icon next to "Comments". Script conflicts aren't a priority for me, so feel free to suggest any features that the other script has which are missing from this one.

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

7 years ago
Permalink

Comment has been collapsed.

You sure you don't just need to sync?

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

7 years ago
Permalink

Comment has been collapsed.

In the settings menu there is an option to sync (in the script, not on SG).

7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

7 years ago
Permalink

Comment has been collapsed.

If the games you are seeing are Zonitron games, then yeah. If you sync while logged in to Steam, that could detect the games, but since the games have been completely removed from the API, it's probably better to just hide the games.

7 years ago
Permalink

Comment has been collapsed.

How does "comment history" work?

7 years ago
Permalink

Comment has been collapsed.

What do you mean? Technical information on how it works?

7 years ago
Permalink

Comment has been collapsed.

How it works... but I guess I found out just after making the comment. Sorry.

EDIT: And I meant how it works.

7 years ago
Permalink

Comment has been collapsed.

Still don't think you meant "how it works", but rather "what it does". That makes more sense to me. For example:

  • What does it do? Keeps track of the comments you make.
  • How does it work? When you make a comment through the script, that comment's ID is stored in your localStorage and used to retrieve the comment in real time later on through the header menu by going to "/go/comment/ID".
7 years ago
Permalink

Comment has been collapsed.

Sorry, the language barrier might be an issue here. With "how it works" I meant "how to use it" but most of all "where to find it".

7 years ago
Permalink

Comment has been collapsed.

You can find it in the ESGST menu.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Thank you Pilda for the screenshot!

View attached image.
7 years ago
Permalink

Comment has been collapsed.

I've been actively using SG for the past 3 months, but today is the first time I'm checking out this script :)

I thought that I should let you know about two things:

  • none of the github links in the "Features" section of the main post work for me. I was able to find the things they refer to only by clicking "Changelog" and scrolling up
  • looks like an update happened while I was typing the first version of this comment. When I was done and clicked the "Submit comment" button, a warning showed up saying that I don't have the newest version of the script. I know that it's not a very likely thing to happen to anyone again, but still it would be nicer if a scenario like that one didn't remove my comment in a not recoverable way ;)
7 years ago
Permalink

Comment has been collapsed.

Odd, the warning showed up immediately when you clicked the button? The warning is only supposed to appear if you refresh the page. Your comment was probably gone because of a SG bug that does not send comments to discussions that have changed titles, which the Discussion Edits Detector in this script fixes.

7 years ago
Permalink

Comment has been collapsed.

Ok, thank you for explaining that one to me. I'll turn on Discussion Edits Detector as one of the first functions xD

7 years ago
Permalink

Comment has been collapsed.

7 years ago
Permalink

Comment has been collapsed.

The script says that my Users data size is 10.14 MB. When I export them, the file has just 716 kB. Is it normal?

7 years ago
Permalink

Comment has been collapsed.

Are all options under "Users" checked when you export?

7 years ago
Permalink

Comment has been collapsed.

Yes. They are.

7 years ago
Permalink

Comment has been collapsed.

Odd. Could be a miscalculation by the script. I'll check later. Try making a backup of your data through Tampermonkey and seeing what size it is.

7 years ago
Permalink

Comment has been collapsed.

The data from tampermonkey are quite big.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Then the export tool of the script is not exporting everything, I'll look into it later.

7 years ago
Permalink

Comment has been collapsed.

OK. And could you add the size also beside the sub items (Not Activated/Multiple Wins Checker, Not Received Finder, and so on)?

7 years ago
Permalink

Comment has been collapsed.

It´s great, it makes browsing SG much easier, but unfortunately after a few days it starts to slow my browser to a crawl. This happens in both my home computer and my work laptop.

7 years ago
Permalink

Comment has been collapsed.

Yeah, I'm constantly trying to optimize the script, but it's a quite hard thing to do considering the huge amount of features it has. So depending on which features you have enabled it does slow the browser a bit. I hope I can improve that eventually (or even better - cg can implement a nice number of features that this script has, which has already started to happen).

7 years ago
Permalink

Comment has been collapsed.

If I enable just the Giveaway Sorter, it won't work. If I enable either Grid View or Giveaway Filters as a second option than the Giveaway Sorter will work. Is it an intentional behavior?

[EDIT] After an hour of playing around with the script...
...I'm surprised by the amount of little bugs I've found. Do you want every little thing to be reported or should I note only the major ones?

7 years ago*
Permalink

Comment has been collapsed.

Script is far from perfect, which is why I added Beta to the version. It would be preferable if you reported any bugs, no matter how big or small.

7 years ago
Permalink

Comment has been collapsed.

If it is not a problem for you, please report the bugs to the Github issues tracker.

7 years ago
Permalink

Comment has been collapsed.

Nice! Thank you for the link :)

7 years ago
Permalink

Comment has been collapsed.

Feature request: could you add a filter for previously entered titles

7 years ago
Permalink

Comment has been collapsed.

I have this error
Imgur
but there are no updates
Imgur

7 years ago
Permalink

Comment has been collapsed.

Just be patient, GitHub takes a few minutes to update.

7 years ago
Permalink

Comment has been collapsed.

thank you )

7 years ago
Permalink

Comment has been collapsed.

With activated ESGST it's not possible to (un)delete your own comments.

7 years ago
Permalink

Comment has been collapsed.

Fixed

7 years ago
Permalink

Comment has been collapsed.

<3

7 years ago
Permalink

Comment has been collapsed.

Just noticed after updating and syncing that the total space calculation and the settings export seems broken.

7 years ago
Permalink

Comment has been collapsed.

How exactly broken?

7 years ago
Permalink

Comment has been collapsed.

The last four datas (Templates, Tickets, Users, Winners) seem to have no space and exporting them doesn't work. The others can be exported apparently.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Nothing in console?

7 years ago
Permalink

Comment has been collapsed.

The new Imgur upload feature is really nice. ;)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Can you do some debugging? By adding console.log(getValue("templates")); to the console.

7 years ago
Permalink

Comment has been collapsed.

ReferenceError: getValue is not defined

7 years ago
Permalink

Comment has been collapsed.

It has to be inside of the main function. After (function() { in line 61.

7 years ago
Permalink

Comment has been collapsed.

Where exactly do i add it? Ok, got it.

7 years ago
Permalink

Comment has been collapsed.

Nevermind, easier to just use this one instead: console.log(GM_getValue("templates")); Just put it in the same place you put the other one.

7 years ago
Permalink

Comment has been collapsed.

Adding both to the script didn't change the console output, only the same error as above.
Adding to the console itself: ReferenceError: GM_getValue is not defined

7 years ago
Permalink

Comment has been collapsed.

Yeah, adding to the console isn't gonna work, but adding GM_getValue to the script should. This is so weird... What line are you adding it to?

7 years ago
Permalink

Comment has been collapsed.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Hey, i could track the bug a bit more down.

You remember the last four datas without spaces? Actually i can export everything but Templates.
Tickets, Users and Winners will even show their allocated space AFTER i exported them. Exporting Templates alone or together with something else still doesn't work.

Relevant could be that also Giveaway Templates are not working for me?!

View attached image.
7 years ago*
Permalink

Comment has been collapsed.

Any news on this?

7 years ago
Permalink

Comment has been collapsed.

I'm afraid not. Can you go to the "Storage" tab of the script on Tampermonkey and see what's saved in "templates"?

7 years ago
Permalink

Comment has been collapsed.

"templates": "undefined"
This seems wrong? Is this local or GM storage i'm looking at?

7 years ago
Permalink

Comment has been collapsed.

Yeah, something went wrong, did you have templates saved? There is no local storage anymore, only GM. If you didn't have templates saved, changing undefined to [] should do the trick.

7 years ago
Permalink

Comment has been collapsed.

I had one template saved. Should i change it anyway, i could easily rebuild that one.

7 years ago
Permalink

Comment has been collapsed.

Yeah, if the template is still on your localStorage you could just delete the entire line that has "templates": "undefined" and it should fix itself. But if it's easy to rebuild it just changing undefined to [] will work too.

7 years ago
Permalink

Comment has been collapsed.

Ok, i changed it before i read your answer and rebuilt the template now since it was gone. Templates and Export (everything shows its space now) are working again.
Funny that the bug was on my end. How could this happen? I assume something went wrong while moving the storage in the recent update?

7 years ago*
Permalink

Comment has been collapsed.

Most likely something went wrong when moving the storage, yeah. I experienced something strange myself when moving the storage: the script was still detecting some data in the localStorage that had been deleted when initializing and then correctly detecting that the data was no longer there after a few seconds (no idea how this happened, but I'm quite sure the latest version fixed both bugs).

Anyhow, it's always advisable to export your data before updating to a new version, especially if the update moves storage around, just to be safe. :)

7 years ago
Permalink

Comment has been collapsed.

You're right, but i also have my Tampermonkey backups as a last backfall. ;)
Still i can find something ESGST related in my local storage (and it seems to be used since it updated while i typed this?). Is this right?

View attached image.
7 years ago
Permalink

Comment has been collapsed.

And now it's better because you don't have to worry about exporting your data through the script in addition to the Tampermonkey backups, because there's no data stored in the local storage anymore, so the Tampermonkey backups cover everything. :)

Yeah, that's normal. The script still stores temporary data in the local storage. esgst_hrCache is used to update Header Refresher data across multiple tabs, so there's no point in storing it in the GM storage.

7 years ago
Permalink

Comment has been collapsed.

I see, then everything is fine. Thank you alot for your support and have a fabulous sunday! :)

7 years ago
Permalink

Comment has been collapsed.

You too! :)

7 years ago
Permalink

Comment has been collapsed.

I think I have discovered a bug.

When using the "Create Multiple Giveaways" feature to import a list of keys, using the "Export" button misses data when any of the game titles have quotation marks in the title. For example, the DLC for the game Botology:

Botology - Map "Barazin" for Survival Mode
Botology - Map "Sartilus" for Survival Mode
Botology - Map "Targul" for Survival Mode
Botology - Map "Zerex" for Survival Mode

I imported a list of 124 keys, 5 of which contained quotes. When I exported, the list contained 119 keys -- missing exactly those 5 keys who had quotes in the title.

Thank you for your time :)

7 years ago
Permalink

Comment has been collapsed.

Fixed

7 years ago
Permalink

Comment has been collapsed.

Thank you very much for your quick fix! Seems to be working properly now :)

7 years ago
Permalink

Comment has been collapsed.

did the location of the bookmark button change?

7 years ago
Permalink

Comment has been collapsed.

No, why?

7 years ago
Permalink

Comment has been collapsed.

strangely enough it doesn't show up for me anymore

7 years ago
Permalink

Comment has been collapsed.

Do you have giveaways bookmarked? Are you talking about the button in the header or the button in the giveaway?

7 years ago
Permalink

Comment has been collapsed.

The one in the header

7 years ago
Permalink

Comment has been collapsed.

Well, do you have giveaways bookmarked? If so, when did it start happening, do you remember the version?

7 years ago
Permalink

Comment has been collapsed.

yes, just earlier. I updated and refreshed, the button doesn't seem to return

7 years ago
Permalink

Comment has been collapsed.

Hmm, could be a bug in moving the data from localStorage back to GM storage, do you happen to have a backup of your data?

7 years ago
Permalink

Comment has been collapsed.

I am afraid I did not make any back-ups

7 years ago
Permalink

Comment has been collapsed.

the bookmark button on the giveaways exists, but it does not save the bookmark it would seem after pressing it and then refreshing the page

7 years ago
Permalink

Comment has been collapsed.

I just updated tamperMonkey and now the encrypt/decrypt star from the header vanished too (the function still works), the bookmark function works again, sadly the bookmarks are gone now, things sure are getting an odd turn for me

7 years ago*
Permalink

Comment has been collapsed.

Weird, this shouldn't happen anymore in the latest version.

7 years ago
Permalink

Comment has been collapsed.

all is fixed now, thank you!

7 years ago
Permalink

Comment has been collapsed.

Why did the ESGST dissappeared from my greaser, when I tried to update it? And now I can't install it back!

7 years ago
Permalink

Comment has been collapsed.

No idea, what's greaser?

7 years ago
Permalink

Comment has been collapsed.

I ment greasemonkey. Can't find it there anymore, can't install it back :/

7 years ago
Permalink

Comment has been collapsed.

What happens when you try to install it?

7 years ago
Permalink

Comment has been collapsed.

I'm using firefox, so the install-pop-up appears, but nothing happends when i click the install button

7 years ago
Permalink

Comment has been collapsed.

Maybe it's a Greasemonkey issue?

7 years ago
Permalink

Comment has been collapsed.

Same problem here. It happend while my PC was downloading Windows 10 Creator Update in the background. No idea if there is any correlation.
Got the notification that an update for ESGST was available, but when the windows for Greasemonkey-Installation opens nothing happens when you click the Install button. Then I refreshed Steamgifts and ESGST was completely gone.

I have since installed the Creators Update and rebooted my PC, but the problem with ESGST persists.

7 years ago
Permalink

Comment has been collapsed.

I uninstalled greasemonkey, and re-installed it back, works again! So it was greasemonkey issue. Thanks!

7 years ago
Permalink

Comment has been collapsed.

Why giveaways started dropping "hide" marker?

7 years ago
Permalink

Comment has been collapsed.

See if it's still happening in the latest.

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.