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.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

Happy new year!

6 years ago
Permalink

Comment has been collapsed.

Check v7.12.1.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

Happy cake day!

6 years ago
Permalink

Comment has been collapsed.

Hello,
can i filter giveaways to only show dlc for owned games and that are not on the wishlist, i normally don't wishlist dlc
Happy New Year :D

6 years ago
Permalink

Comment has been collapsed.

Not at the moment, only if they are wishlisted.

Happy new year. :)

6 years ago
Permalink

Comment has been collapsed.

I need a bit of help, please... It's weird, I remember having some options here in the filters tab, now it doesn't change regardless of what I check in my filter settings.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Check the console for errors.

6 years ago
Permalink

Comment has been collapsed.

Thank you, but unfortunately I don't know what errors to look for...

6 years ago
Permalink

Comment has been collapsed.

Any errors. Ctrl + Shift + J.

6 years ago
Permalink

Comment has been collapsed.

Erm... this is what I get.

Could something be wrong with my browser?
I've used your extension before and it worked great, though on another windows installation and browser.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Thanks, I'll investigate the error. I don't think it's anything with your browser, v7.12.0 introduced a few bugs.

6 years ago
Permalink

Comment has been collapsed.

Oh, okay, and no problem. ESGST is amazing, so thank you! :)

6 years ago
Permalink

Comment has been collapsed.

Please let me know if the issues still occur in v7.12.1.

6 years ago
Permalink

Comment has been collapsed.

Sure thing. Doesn't ESGST update automatically? It used to, and I've been waiting for that since I'm not sure how to manually do this, sorry.

6 years ago
Permalink

Comment has been collapsed.

If you're using the extension on Chrome, it does not update automatically. The GitHub page explains how to do it. Only the script or the extension on Firefox update automatically.

6 years ago
Permalink

Comment has been collapsed.

Weird, I'm using the Firefox extension. Should I try using the script instead?

6 years ago
Permalink

Comment has been collapsed.

Maybe the update just hasn't come yet? Do Firefox updates come on a daily basis? Try waiting until tomorrow if you don't want to manually update it.

6 years ago
Permalink

Comment has been collapsed.

I feel dumb, but I know nearly nothing about this subject.
I'll wait and see, if it doesn't update I'll do it manually, and I'll let you know how it behaves. Thanks. :)

6 years ago
Permalink

Comment has been collapsed.

The update came automatically and the problem is strangely still there.
I'll try to use the script or another browser later to see if it behaves the same, though that would follow the same logic as restarting my computer when something goes wrong, but that often works. xD

6 years ago
Permalink

Comment has been collapsed.

Can you go to the debug menu (second to last button in the settings menu heading) and paste this and click "Debug"?

alert(esgst.storage.filterPresets);

What does it show?

6 years ago
Permalink

Comment has been collapsed.

Nevermind, I found the issue. I'll fix it in the next version, but if you want to fix it yourself, paste

setValue(`filterPresets`, `[]`);

in the debug menu I mentioned above and debug it.

6 years ago*
Permalink

Comment has been collapsed.

Thanks, it worked! :)

6 years ago
Permalink

Comment has been collapsed.

Real CV
You should get ~$NaN real CV for this giveaway.

6 years ago
Permalink

Comment has been collapsed.

Already aware and will be fixed in the next version.

6 years ago
Permalink

Comment has been collapsed.

thank you!

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

This is a supreme quality script and I applaud you for creating it and updating it so frequently. That said, recently with all the new features it has become so big (I've checked and it has close to 40K lines of code, no script I have has even 20% of that amount) that it takes 5-10 seconds to load now for every page I visit. It might be a minor issue but it does bug me so I'm wondering if there can be a lite-version or a way to reduce loading time by ignoring code I don't use? Thanks again for a great script!

I use it on Chrome with Tempermonkey

6 years ago
Permalink

Comment has been collapsed.

I don't think that's the problem. v7.12.0 introduced compatibility with Greasemonkey v4, and it looks like that slowed down other userscript managers, but I'm currently trying to improve that.

But if you were already experiencing the slow load before v7.12.0, I'll see if I can upload a minified version of the script to reduce its size.

6 years ago
Permalink

Comment has been collapsed.

https://gyazo.com/526de0a2311135673a19f6478da2fa4d What do I do? I already set up everything I needed but it keeps popping up. Super annoying.

6 years ago
Permalink

Comment has been collapsed.

Check the console log for errors (Ctrl + Shift + J)?

6 years ago
Permalink

Comment has been collapsed.

I just installed this script, which is super useful and was sorely missed since the new firefox version blew up compatibility with a bunch of stuff. However, I cant get the enter giveaway button to show up on the main page, even though the option is selected. I've tried restarting the browser, resetting all configurations and trying again. Nothing seems to have worked.
Any help on this issue? It's my most used feature.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

I deleted all the data and it still didnt work. After, I manually reset all of the configurations and refreshed the page, everything was off. Turned the button on and refresh again and it showed up.
I configured all the other options to my taste and everything seems to be working now. Thanks anyway!

6 years ago
Permalink

Comment has been collapsed.

Can you check the console log for errors (Ctrl + Shift + J)?

6 years ago
Permalink

Comment has been collapsed.

Heya since you asked for console log and errors:
(1.pic) if I try to highlight a discussion nothing happens and the errorlog shows this
(2.pic) if I click on "Clean Old Data" it says "Cleaning..." without ever stopping and the errorlog shows this

First one is really annoying, as for the second I have no idea how it should work because I never ever cleaned data before. Not even sure if that would actually help in any way (eg make the scriptloading faster or whatever^^)

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

Comment has been collapsed.

Please let me know if the issues still occur in v7.12.1.

6 years ago
Permalink

Comment has been collapsed.

Highlighting works perfect now.
Cleaning still never finishes with:
"TypeError: this.callback1 is not a function esgst.js:1169:23"
Though still no idea of it even does anything or not^^

Edit: using the extension version...no idea if that matters or if they are identical in all ways. (just mentioning it because syssareth did too.

6 years ago
Permalink

Comment has been collapsed.

Will verify, thanks.

6 years ago
Permalink

Comment has been collapsed.

Should be fixed.

6 years ago
Permalink

Comment has been collapsed.

First, thank you for all your hard work! This script is amazing.

With the latest update, I've found a couple of bugs that I don't think anybody else has mentioned:

  • It's no longer fading viewed discussions or marking them as viewed in any way. I haven't tried doing anything manually except sorting them, which works.
  • It's no longer showing my chances of winning a giveaway, on either the main page or the giveaway page.

Yes, I checked to make sure the options hadn't somehow gotten unchecked. :P

I'm using the script, but I tried the extension and it had the same problem, with the discussions at least; I switched back because the script was faster and I didn't notice the giveaway odds until now.

Checking the console gives me this:

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Please let me know if the issues still occur in v7.12.1.

6 years ago
Permalink

Comment has been collapsed.

Oh. Now it's not working at all. I wasn't sure before, but now I'm thinking it's because I'm running old versions of Firefox and Greasemonkey (48 and 3.11, respectively). I guess the compatibility fix for Greasemonkey 4 broke it for my old-man version?

I guess I'll have to go back to 7.11.2 and use that. Thanks for trying, though!

6 years ago
Permalink

Comment has been collapsed.

What do you mean it's not working at all? The script? Check the console for errors.

6 years ago
Permalink

Comment has been collapsed.

Yeah, it's like I don't even have it installed.

Console gives me this now:

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Weird. Do you know how to edit a script?

Can you locate the line that says

this.button1.addEventListener(`click`, async () => {

and change it to

this.button1.addEventListener(`click`, async event => {

or

this.button1.addEventListener(`click`, async (event) => {

to see if the errors go away?

Note that new errors may appear, but just check if the error coming from line 1167:51 disappears.

6 years ago
Permalink

Comment has been collapsed.

Sorry for being slow to reply--busy with other things. D:

I tried both. The first one got rid of the 1167:51 error; the second seems just like the original.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

No problem, I'm slow to reply as well. xD

I think I found the issue, you said you're running Firefox 48, right? The new async/await methods I added to the script are only available in Firefox since v52.

I'll add which versions are compatible with the script to the OP, sorry about that. If you cannot update to a newer version of Firefox unfortunately you will have to downgrade to v7.11.2, because I would need to rewrite the entire code once again to make it compatible with old versions, and I really don't want to do that. I always code based on the most recent version available because new Javascript features make life much easier.

6 years ago
Permalink

Comment has been collapsed.

No worries! I wouldn't want to do all that work for so little benefit, either. I'd bite the bullet and update FF, except I'm in a kind of sweet spot where my addons all work, and the subsequent versions progressively kill them until 95% of them are dead.

I'm obviously no stranger to using old versions of things, so I'll be fine. XD Thank you!

6 years ago
Permalink

Comment has been collapsed.

Even Firefox v52 kills them? I thought Firefox only moved to the new system in v57? The only issue you'll have is that you will likely run into a lot of bugs using old versions of the script and you will miss out on cool new features, but if the old version works fine for what you need I guess it's not a problem.

I hope in time the devs of your other addons make them compatible with newer versions. :)

6 years ago
Permalink

Comment has been collapsed.

It's been a while since I checked, but I think the reason I settled on 48 was because one or two of my favorite addons were abandoned, there weren't alternatives, and this was the latest version they'd work on. I didn't even think of it until now, but I might do another check soon to see if anybody's taken up their mantles or made something similar.

(Also, confession: I haven't been keeping up with release numbers, so I maaay have been under the impression that 52 was Quantum. ^^; Which definitely kills my addons, so I'll not be switching to that one, but I'll see whether 52-56 are compatible.)

6 years ago
Permalink

Comment has been collapsed.

try updating at least to v52, if it works for you use the ESR branch as it is still receiving security updates(not sure until when though) unlike the normal branch(where only quantum is receiving any updates)

6 years ago
Permalink

Comment has been collapsed.

Always getting stuck on "Hi! ESGST is getting things ready for you. This will not take long..."

Console log has this recent entry:

The SSL certificate used to load resources from https://steamcdn-a.akamaihd.net will be distrusted in M70. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.

Also seems that I cant install the extension properly because it shows: Unrecognized manifest key 'applications'.

6 years ago*
Permalink

Comment has been collapsed.

Can you open the settings menu and click on the second to last button in the heading (the one with the bug icon that says "Debug" when you hover over it), paste "alert(esgst.version);" there and debug it, then tell me what appears?

The extension should work fine regardless of the unrecognized key, are you sure it's not enabled?

6 years ago
Permalink

Comment has been collapsed.

Oh you mean the script. When I paste it it says: "undefined"

It is enabled but I do not know if it works or not.

6 years ago*
Permalink

Comment has been collapsed.

That's odd, what do you get when pasting "alert(esgst.currentVersion);"?

Try pasting "setValue('version', esgst.currentVersion);" and then reloading.

If you're using the script the extension will obviously not work, you have to disable the script for the extension to load.

6 years ago
Permalink

Comment has been collapsed.

I have the same problem, with "alert(esgst.version);" it says "undefined". "alert(esgst.currentVersion);" says 7.12.1.

After using "setValue('version', esgst.currentVersion);" i dont get that popup anymore and "alert(esgst.version);" now says 7.12.1.

6 years ago
Permalink

Comment has been collapsed.

I thought you are supposed to use script and extension bc in the installation guide it first told me to add an extension and then a script. For a noob thats confusing.

Update: I put in "setValue('version', esgst.currentVersion);" and everything works like charm now (and ofc deleted the extension :p ). Thanks for your help.

6 years ago*
Permalink

Comment has been collapsed.

The guide doesn't mention having to install the extension first and the script afterwards though, the steps for the extension are listed separately from the script, but I'll see if I can clarify that.

6 years ago
Permalink

Comment has been collapsed.

I'm having an issue importing data using onedrive. I'm getting these errors:

TypeError: NetworkError when attempting to fetch resource.
JSON.parse: unexpected character at line 1 column 1 of the JSON data

I'm not sure if the first error comes from the extension (it says unknown under origin) but the second one definitely is. But the JSON is valid afaik (I just exported it from my other PC)

6 years ago
Permalink

Comment has been collapsed.

Only from OneDrive? Did you try importing from the computer?

6 years ago
Permalink

Comment has been collapsed.

Yeah, I downloaded the file from OneDrive and imported it from my computer and it worked just fine (although it made esgst sync every time I went to a new page but I guess you fixed that now)

6 years ago
Permalink

Comment has been collapsed.

Should be fixed.

6 years ago
Permalink

Comment has been collapsed.

Dunno what went wrong but after last update it kept syncing whenever SG loaded the same page, a new page, any page. Had to disable it and then enable it again to keep this from happening.

6 years ago
Permalink

Comment has been collapsed.

I just had this same issue and that fixed it for me too

6 years ago
Permalink

Comment has been collapsed.

Great, it's still a nice script and such things rather annoyances but no problem.

6 years ago
Permalink

Comment has been collapsed.

Whatever it was I think I fixed it in the latest version.

6 years ago
Permalink

Comment has been collapsed.

Nice, thanks. 😉

6 years ago
Permalink

Comment has been collapsed.

🎉 10.000th comment! 🎉

6 years ago
Permalink

Comment has been collapsed.

Nice!

6 years ago
Permalink

Comment has been collapsed.

Gratz. It is possible this is the longest thread here.

6 years ago
Permalink

Comment has been collapsed.

In terms of comments, I don't know. But in terms of pages, pretty sure there are many threads with close to or more than 100 pages. :P

6 years ago
Permalink

Comment has been collapsed.

I think I never thanked you for developing this awesome tool! It really improves this site, thank you so much 💙

6 years ago
Permalink

Comment has been collapsed.

You're welcome. :)

6 years ago
Permalink

Comment has been collapsed.

Bug: On the Entered page the type filter "Group" doesn't seem to work. Setting it to "Hide all" has no effect and setting it to "Show only" actually hides all the entered giveaways - no matter their type. I'm not getting any errors in the console.

(Besides that, maybe Bug 2: For a few versions now, starting somewhere around christmas, all the extra GA info from ESGST gets loaded in very slow - no comparison to the almost instant page load before. I thought this maybe was because of the higher stress on steams end of things over the holidays but it's still not back to normal. Besides that it started after updating ESGST so I'd assume it has to do with the script.)

6 years ago*
Permalink

Comment has been collapsed.

Can you be more specific about issue 2? Where and what info?

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

See if the latest version is better. Categories have always taken long to load though, unless the categories of the current page were already retrieved and are being pulled from the cache.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

Well, I can't tell if it is one setting in specific causing the issue so I have to say that it is any info that is not standard to steamgifts but added to the giveaway-info by ESGST to the All, Wishlist, Recommended, ... basically all GA list pages. But also on ESGST specific pages like bookmarks or decrypted GAs.

6 years ago
Permalink

Comment has been collapsed.

Ok, but what is that info? I don't know what features you have enabled. Giveaway winning chance/ratio, enter/leave giveaway button, giveaway filters, game categories?

6 years ago
Permalink

Comment has been collapsed.

I've just sent you a link to the settings via Steam chat.

6 years ago
Permalink

Comment has been collapsed.

I don't think I received anything, but see if the latest version is better.

6 years ago
Permalink

Comment has been collapsed.

I've just sent you the link a second time.

The type filter for Group still doesn't work.

I feel like it's going a bit faster again, but I'm not sure if it's up to the speed it was before it got really slow. I'll keep you updated on that.

6 years ago
Permalink

Comment has been collapsed.

I cannot reproduce it. The group filter works fine for me in the entered page.

6 years ago
Permalink

Comment has been collapsed.

Here's where I meant to comment. Have you tried my settings regarding this issue?
I've just tried again (with the current dev raw) and the issue is still there: Group to hide all is without any effect, Group to show only and all GAs are hidden.

(As for the loading speed, I've just again checked that as well and I guess I was wrong regarding my earlier estimates, it's still 5-10 seconds opposed to the almost instant before the slowing down update.)

6 years ago*
Permalink

Comment has been collapsed.

Hmm, your screenshots made me wonder... Are you talking about the loading speed when loading a page with endless scrolling or when loading a page normally? Because that changes things...

6 years ago
Permalink

Comment has been collapsed.

What do you mean with "normally"?
I have endless scrolling on always - but that doesn't mean I actually scroll down at all; hence only one page is loaded. I'm referring to the loading speed of a single page.
But even if I did scroll - while my settings haven't changed loading times did.

6 years ago
Permalink

Comment has been collapsed.

Endless scrolling only kicks in when you scroll down and load another page. Loading a single page will always be the same regardless of whether endless scrolling is enabled/disabled/on/off.

The thing is endless scrolling also went through changes in v7.12.0, and because it works separately from the initial page load I thought there could be something there causing the slow loads, but I guess that's not the issue.

If you refresh a page that already loaded the game categories, do the categories appear instantly?

6 years ago
Permalink

Comment has been collapsed.

Well, instead of 7 or 6 it now takes 6 or 5 the seconds (depending on the page - all or groups takes longer than whishlist since there's only few GAs for the latter). So while it is about 1 second faster it's still slow.

6 years ago
Permalink

Comment has been collapsed.

Played a bit around with the settings but nothing helps with the Group filter. In Screenshot 1 you can see that it has no effect when set to hide all and Screenshot 2 shows that it hides all when set to show only.

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

Comment has been collapsed.

Is group the only affected filter? Whitelist is another info that is only added later on, can you see if the whitelist filter also does not work?

6 years ago
Permalink

Comment has been collapsed.

I've just checked and the Whitelist filter indeed shows the same erroneous effects as the one for Group.

6 years ago
Permalink

Comment has been collapsed.

Ah, nevermind about before, I can reproduce it as well, group worked for me because I have Giveaway Groups Loader enabled. Will be fixed next version.

6 years ago
Permalink

Comment has been collapsed.

Looking forward to it. Thanks.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago*
Permalink

Comment has been collapsed.

What do you mean by non-functional? What exactly happens?

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

New winners of a single giveaway?

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago*
Permalink

Comment has been collapsed.

I believe it should work well in the latest (try syncing your giveaways again if it doesn't).

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

Also can't send gifts, stuck on trying to check people's sgtools-info for nonactivated wins.

Plus can't seem to save user notes. It just says "Saving" with the circle going around and around.

6 years ago
Permalink

Comment has been collapsed.

Can you check the console for errors when sending gifts?

6 years ago
Permalink

Comment has been collapsed.

Already sent them out manually, so can't check.

Trying to save a personal note on someone (in this case you) doesn't trigger any errors for me using Firefox 57.0.4 in the console other than some CSS-errors.

Unknown property '-moz-osx-font-smoothing'. Declaration dropped.
font-awesome.min.css:4:638
Error in parsing value for 'word-break'. Declaration dropped.
rafaelgs18:449:17
Unknown property 'line-weight'. Declaration dropped.
rafaelgs18:1013:17
Ruleset ignored due to bad selector.
rafaelgs18:1928:13
Error in parsing value for 'word-break'. Declaration dropped.
rafaelgs18:449:17
Unknown property 'line-weight'. Declaration dropped.
rafaelgs18:1013:17
Ruleset ignored due to bad selector.

6 years ago
Permalink

Comment has been collapsed.

Ok, can't confirm then, but I think I fixed it.

6 years ago
Permalink

Comment has been collapsed.

I can save notes now at least. :)

6 years ago
Permalink

Comment has been collapsed.

Have you tried with my settings?

I'm checking the new dev version.

6 years ago
Permalink

Comment has been collapsed.

No, settings are irrelevant for this issue. There is no new dev version, the last public version (v7.12.2) is the current version.

6 years ago
Permalink

Comment has been collapsed.

Sorry, I commented on the wrong one...

6 years ago
Permalink

Comment has been collapsed.

Bug: I just noticed that the user note didn't pop up when whitelisting someone. When opening it manually and trying to save what I wrote, it didn't actually save... the circle just kept turning forever. Tried it several times.

Here's the console message:

VM1040:10540 Uncaught (in promise) TypeError: Cannot read property 'steamId' of undefined
at Promise (eval at E_c (:3:298), <anonymous>:10540:22)
at new Promise (<anonymous>)
at getUser (eval at E_c (:3:298), <anonymous>:10535:16)
at Promise (eval at E_c (:3:298), <anonymous>:10566:35)
at new Promise (<anonymous>)
at saveUser (eval at E_c (:3:298), <anonymous>:10562:16)
at Promise (eval at E_c (:3:298), <anonymous>:25401:19)
at new Promise (<anonymous>)
at saveUnNotes (eval at E_c (:3:298), <anonymous>:25384:16)
at HTMLDivElement.ButtonSet_v2.button1.addEventListener (eval at E_c (:3:298), <anonymous>:1174:28)

6 years ago
Permalink

Comment has been collapsed.

Should be fixed.

6 years ago
Permalink

Comment has been collapsed.

Yes, it's both working again.

6 years ago
Permalink

Comment has been collapsed.

Have a small problem: ESGST is now always synching when I browse the site, even when just refreshing.
Edit: Disregard that. Did a force synching in the settings, now it's behaving itself again.

6 years ago
Permalink

Comment has been collapsed.

Temporarily disabling it, reloading SG and enabling it again solves that too.

6 years ago
Permalink

Comment has been collapsed.

I was able to reproduce the issue and it will be fixed in the next version.

6 years ago
Permalink

Comment has been collapsed.

One of the recent updates seems to be causing a minor conflict with the Steamgifts Steam Ratings script. In both Firefox and Chrome, the formatting on the giveaways page for giveaways with a rating is off (while appearing correctly for giveaways that don't have a rating), see attached.

I'm not sure whether this is better reported for ESGT or Steam Ratings. I believe there was a similar problem once before, and changing the loading order fixed it, but it doesn't seem to have any effect this time around. Nothing relevant in the console. Thanks!

View attached image.
6 years ago*
Permalink

Comment has been collapsed.

Do you have a link to that script? I'll see if there's anything I can do.

6 years ago
Permalink

Comment has been collapsed.

6 years ago
Permalink

Comment has been collapsed.

It will be fixed in the next version (will be released later today), but if you are not aware, Game Categories does that in ESGST.

6 years ago
Permalink

Comment has been collapsed.

Great, thanks! My main reason for continuing to use Steam Ratings (besides a slight preference for the layout) is that it can get ratings for games that have an age or category verification check, which it didn't appear the ESGST option could do. Is that the case?

6 years ago
Permalink

Comment has been collapsed.

Ah, yes, I don't know if it was you but someone wanted me to move the rating category to the area next to the date and it was not something I could do at that time. But since I added the option to move buttons around in the heading, adding an option to move categories around should be fairly simple. Unless by layout you mean the icon used and not the position? Although I could add an option to customize color/icon as well... I'll see what I can do.

I believe that is the case, yes, but I have to fix that.

6 years ago
Permalink

Comment has been collapsed.

Thanks for the response. It wasn't me that made that request, but being able to move the ratings near the date, and also maybe having the option to change the icons (I'm partial to the arrows choice in Steam Ratings as you can see in my screenshot) would be great :)

6 years ago
Permalink

Comment has been collapsed.

Added. I'm not entirely sure, but I think the script bypasses age checks if you marked the option to ignore them on Steam, because the script uses your cookies when sending requests. If you decide to try it out, please let me know if that is true.

I tried sending the cookie with the request, but was unsuccessful, I might have to check how that script does it.

6 years ago
Permalink

Comment has been collapsed.

From limited testing, it looks like even with the "don't ask me this again" box checked, ESGST only shows the ratings for age/content check games if I first visit each one manually.

Edit I'm actually not really sure how it's working. For one game with an age/content verification, after visiting the store page, ESGST then showed the rating. For two others, even after visiting the store pages, no rating was displayed.

6 years ago*
Permalink

Comment has been collapsed.

I think the GA extractor got broken? I get

Uncaught (in promise) TypeError: Cannot read property '1' of null
at getGeGiveaways (eval at E_c (:3:298), <anonymous>:21135:83)
at ge.set.callback (eval at E_c (:3:298), <anonymous>:20964:37)
at ButtonSet.toggle (eval at E_c (:3:298), <anonymous>:1138:17)
at ButtonSet.trigger (eval at E_c (:3:298), <anonymous>:1142:18)
at openGePopup (eval at E_c (:3:298), <anonymous>:20980:20)
at response (eval at E_c (:3:298), <anonymous>:20913:17)
at continueRequest (eval at E_c (:3:298), <anonymous>:5445:25)
at <anonymous>

6 years ago
Permalink

Comment has been collapsed.

Works fine for me. Can you post the train you're trying to extract? If not, try to look for irregularities in the links of the train. Currently if a link is not in the format /giveaway/XXXXX/ it will not work.

6 years ago
Permalink

Comment has been collapsed.

I used it on this discussion to see what the games are and which I own. Used to work. But this pc is bein somewhat were today anyway, so it might be me...

EDIT: And now it works again... must have indeed been something weird on my part...

6 years ago
Permalink

Comment has been collapsed.

I think it was really a mistake on the OP: https://www.steamgifts.com/go/comment/mkBUdaO It was edited a few hours ago.

6 years ago
Permalink

Comment has been collapsed.

Oh, okay... I guess then my new bug report is that it dies if someones does something stupid with the links ;)

6 years ago
Permalink

Comment has been collapsed.

I'm trying to use your script on firefox now and I'm having LOTS of problems...
Filter doesn't work. Tags doesn't work. Calculate chances doesn't work. Most things doesn't work...
There are so many non-working options that I can't even know exactly where to start...

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

6 years ago
Permalink

Comment has been collapsed.

I just realized that I'm running the addon... (didn't know there were a addon)
In the other hand, the script on chrome is running perfectly.

6 years ago
Permalink

Comment has been collapsed.

What version and what userscript manager, Greasemonkey v4? Let's start by having a look at the console (Ctrl + Shift + J)?

6 years ago
Permalink

Comment has been collapsed.

it is the lastest one... just downloaded it.
also, looks like I'm running the addon beause it isn't loaded by tampermonkey...

6 years ago
Permalink

Comment has been collapsed.

Ok, and did you check the console?

6 years ago
Permalink

Comment has been collapsed.

lots of:

Error: An unexpected error occurred undefined
> Id already exists

and some

Content Security Policy: Ignorando ‘SOMETHING’ por causa da directiva ‘SOMETHING’.
6 years ago
Permalink

Comment has been collapsed.

just made it work. deleted everything and installed from the beggining.

6 years ago
Permalink

Comment has been collapsed.

Glad to hear it.

6 years ago
Permalink

Comment has been collapsed.

is there a way to auto update the addon?

6 years ago
Permalink

Comment has been collapsed.

Firefox already auto updates it.

6 years ago
Permalink

Comment has been collapsed.

Cool. Is it possible to add a simple "giveaway thread detector" in main discussions page?

6 years ago
Permalink

Comment has been collapsed.

I'll see what I can do.

6 years ago
Permalink

Comment has been collapsed.

Posted a bug report on the github

6 years ago
Permalink

Comment has been collapsed.

It's not necessary to inform about it here. rafaelgs18 gets notifications about it (and I think even emails).

6 years ago
Permalink

Comment has been collapsed.

Correct, although the emails are useless for me, since I open GitHub at least once per day.

6 years ago
Permalink

Comment has been collapsed.

Didn't know for sure, but figured a bump for the thread also couldn't hurt.

6 years ago
Permalink

Comment has been collapsed.

Is !important needed in this? i can't find a situation where it is needed and it prevents overriding of the default, plus it looks like a bit got left in when ${ratingType} was removed.

<a class="esgst-gc esgst-gc-rating esgst-gc-rating" data-bgColor="${colors.bgColor}" data-color="${colors.color}" data-id="gc_r" href="http://store.steampowered.com/${singularType}/${id}" style="background-color: ${colors.bgColor} !important; color: ${colors.color} !important;" title="${cache.rating}">${colors.icon.match(/\w/) ? `<i class="fa fa-${colors.icon}"></i>` : `<span style="font-size: 14px;">${colors.icon}</span>`}${esgst.gc_r_s ? ` ${cache.rating}` : ``}</a>
6 years ago
Permalink

Comment has been collapsed.

Not sure, if I put !important there it might have been because somewhere the color was overridden by SG's style? I'll have to check every page the feature runs, but is that relevant? Since the colors of the rating are now chosen by the user themes cannot color them anyway, so there's no need to override them. Or am I missing something?

6 years ago
Permalink

Comment has been collapsed.

I can't imagine anywhere SG would be able to override that. The default setting should match the theme but it can't be overridden at the moment because of the !important, user choices are not touched by the theme.

6 years ago
Permalink

Comment has been collapsed.

But the problem is how were you going to override the default setting anyway? The default settings can be deleted, so the user can have completely different settings, and it's not possible to distinguish them, so I'm not sure I understand what you are trying to do.

6 years ago
Permalink

Comment has been collapsed.

Just have to target the default colors, if they are deleted or changed it won't be applied.
The goal is to have the default match the theme only when the user does not change it.

Example for default negative.

.esgst-gc-rating[data-bgcolor*="#a34c25"] {
    background-color: #ff0000 !important;
}
6 years ago
Permalink

Comment has been collapsed.

Ah, of course, forgot about the data attributes, I'll remove the !important rule and release a small update later today.

6 years ago
Permalink

Comment has been collapsed.

Done. I also removed !important from all other categories, since I believe they are no longer needed (I think they were there because I used to borrow a SG class for the categories, which is no longer the case).

6 years ago
Permalink

Comment has been collapsed.

Ok i will check that out, got sidetracked with chance/ratio highlighting.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

Bug: When dragging around game categories, you can't move them back up where they originally are if there's not another one already/still up there. In this case you first have to change settings so you get another one that's still in its original place, then you can move the other one back up before you change settings back to what they were before.

(BTW, I've requested to be invited to the steam group from within ESGST maybe a weeks ago already; so contrary to what it says I didn't get an invite within 24 hours.)

6 years ago*
Permalink

Comment has been collapsed.

Thanks for reporting, will fix it later.

You need to send a request through Steam first, because Steam does not allow inviting users that are not your friend to a group, but since you are my friend on Steam I just sent you an invite. The description of the group explains this: http://steamcommunity.com/groups/esgst Maybe I should add this info when you click the request button on the settings menu...

6 years ago
Permalink

Comment has been collapsed.

Thanks.

I've accepted the invite. Thanks.
Yeah, I guess adding the info to the popup would be helpful since you would never know unless you actually go and visit the groups page (in case it should open in a new tab when clicking the button - it didn't for me since I have extensions to block that... others surely do as well). Maybe instead of the button being a request to join the group, make the button open the groups page or opening a popup with a link to the group instead asking people to visit the group by clicking the link to request to join the group. I'd assume anyone who would want to join the group wouldn't mind doing the extra step (especially since adding non-friends isn't possible anyways).

Another thing unrelated to the issue: I just noticed that clicking the browser notification for e.g. new messages opens a new tab. I'd prefer to just open the messages page in the already open tab instead. Also, before working brwoser notifications have to be activated to work first. (As soon as the first notification is available the browser will show a pop up where you have to allow browser notifications for steamgifts once you change back to the steamgifts tab.) Maybe that should be mentioned in the feature description or the changelog.

6 years ago
Permalink

Comment has been collapsed.

I added some information in the latest dev version, I think it's fine now.

Yeah, that was something I had thought about when working on the issue (#387), but I have to think about how I will do it.

6 years ago*
Permalink

Comment has been collapsed.

I just checked that issue and he specifically requested them to open in a new tab. Furthermore I've learned - since I never used browser notifications - you don't have to have a tab with that page open for the notifications to work. So in this case opening a new tab is the secure way.
But maybe a option in the settings to open the page on the existing tab - if there is one, that would be nice.
We'll see.

6 years ago
Permalink

Comment has been collapsed.

Just left the PC for half an hour and when I came back I had two new messages but no browser notification (although the tab showed the red "2").

6 years ago
Permalink

Comment has been collapsed.

Maybe the notification just closed? I never left any notification open for long, so I don't know how long they stay open.

6 years ago
Permalink

Comment has been collapsed.

Yeah, I've just tested and let it stay open... which didn't last for too long until it automatically closed again. Maybe half a minute? I didn't count seconds. I just assumed that it would stay open.

6 years ago
Permalink

Comment has been collapsed.

I think I can add an option to let it stay open until closed by the user.

6 years ago
Permalink

Comment has been collapsed.

It's nothing too important... surely not top priority. I guess most people wouldn't want to have to click on it for it to go away. It's probably only useful if you have been away from the PC so you know what's up when you get back.

6 years ago
Permalink

Comment has been collapsed.

Well, I have to add less than 10 lines of code to make that an option, so I'll add it to the next version.

6 years ago
Permalink

Comment has been collapsed.

Ok.

6 years ago
Permalink

Comment has been collapsed.

Fixed. Now when you drag a category and it is the only one there a blank space will appear below the giveaway title where you can drop it so that it returns to the original place.

6 years ago
Permalink

Comment has been collapsed.

Yes, it works great. Thanks.

6 years ago
Permalink

Comment has been collapsed.

After updating 7.13.0, the sync menu isn't showed after I clicked the sync icon.
It just grayed out and nothing happened.

6 years ago
Permalink

Comment has been collapsed.

Check console log for errors (Ctrl + Shift + J).

6 years ago
Permalink

Comment has been collapsed.

I reload my user page first and open console log. Then I cleared the log and clicked the sync icon. The console showed the following error:
TypeError: document.getElementsByClassName(...)[0].href.match(...) is null[more] ESGST.user.js:11164:50

6 years ago
Permalink

Comment has been collapsed.

Do you use other scripts?

6 years ago
Permalink

Comment has been collapsed.

No, just ESGST.
And I found an issue about the sync function. When I tried to sync in v7.12.2, the sync date will become the date of last updating if I selected multiple data (only the last / bottom one will be the correct date). For example, if I selected the following 5 data to sync, as you see, only the last one will be the correct date. I think maybe the data actually syned because the date is correct right after the syncing is complete. It went wrong when I reload the page and entered the sync menu again.

Whitelist     Last synced 2018/1/1 上午11:14:53
Blacklist     Last synced 2018/1/1 上午11:14:53
Hidden Games     Last synced 2018/1/1 上午11:14:53
Owned/Wishlisted/Ignored Games     Last synced 2018/1/1 上午11:14:53
Won Games     Last synced 2018/1/14 下午9:12:42
6 years ago
Permalink

Comment has been collapsed.

I cannot reproduce that at all.

Can you right click your avatar at the top right corner, select the option to inspect element and see if it looks like this:

<a href="/user/rafaelgs18" class="nav__avatar-outer-wrap">
    <div class="nav__avatar-inner-wrap" style="background-image:url(https://steamcdn-.akamaihd.net/steamcommunity/public/images/avatars/87/879b900345a2128bf9a7f88c26bc16dad35e7404_medium.jpg);"></div>
</a>
6 years ago
Permalink

Comment has been collapsed.

It showed as the following (I have the "Avatar Popout (Click)" enabled) :

<div class="nav__button-container nav__button-container--notification">
    <a class="nav__avatar-outer-wrap esgst-clickable">
        <div class="nav__avatar-inner-wrap" style="background-image:url(https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/71/71013865505f164a95b8231a9ac462fbabbffdef_medium.jpg);"></div>
    </a>
</div>
6 years ago
Permalink

Comment has been collapsed.

Hmm, that's the problem, I'll fix it in the next version. You can switch to hover so you can sync until then.

6 years ago
Permalink

Comment has been collapsed.

OK, got it. Thanks a lot.

6 years ago
Permalink

Comment has been collapsed.

Should be fixed. As to your sync problem I cannot reproduce, it happened in the latest version? Is it always reproduceable?

6 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.