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.

For some strange reason i can scroll endlessly on some topics, when i get to the end of page it just repeat showing it.

EDIT 1: Looks like it got stuck on page 1, so it is just repeating it since there is page after that. No errors in console.

EDIT 2: It looks like it happened because topic changed name while i was reading page #1 so it couldn't load page #2 from url

View attached image.
7 years ago*
Permalink

Comment has been collapsed.

Minor Incompatibility with the SGv2 Dark theme. After entering a giveaway with grid mode on, you can't mouse over anything but the last row to unenter or click anything else since it selects through the popup box whatever is below it, in this case the giveaway right under the one you want to click on.

7 years ago
Permalink

Comment has been collapsed.

Hi there!

I've been having this issue for a long time now in spite of all the updates:
The Syncing your whitelist / blacklist... takes forever.
I've let it run for hours and always end up clicking the Cancel button.

These are my numbers:

  • Whitelist 90
  • Blacklist 398
7 years ago
Permalink

Comment has been collapsed.

i know revil will want to know...

Is there anything in the console?

(console = f12)

xD


reply to rafaelgs18, not me. ;)

7 years ago*
Permalink

Comment has been collapsed.

Have you checked the console for errors?

7 years ago
Permalink

Comment has been collapsed.

too slow :P

7 years ago
Permalink

Comment has been collapsed.

I knew it. :P

7 years ago
Permalink

Comment has been collapsed.

That's a good tip. I'll check that next time then process starts by itself.
Will that be any good? I mean, to press F12 after the process has started running.

7 years ago
Permalink

Comment has been collapsed.

I forced a sync with the Sync button from account/settings/profile#rhSGST.
It got stuck in the Syncing your whitelist / blacklist... message.
The following error appeared on the console:

Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSON (eval at E_c (:1:1), <anonymous>:1635:21)
at Function.eval (eval at E_c (:1:1), <anonymous>:1613:37)
at <anonymous>:2:398
at eval (eval at exec_fn (:1:108), <anonymous>:30:494)
7 years ago
Permalink

Comment has been collapsed.

Can you edit the script in Tampermonkey and add

console.log(GM_getValue(`users`));
console.log(GM_getValue(`games`));

at the beginning of the code, then load any page and check the console? Both should output a string and it should not be empty.

7 years ago
Permalink

Comment has been collapsed.

I'm back!
This is the console output at page load:

undefined
undefined

According to Tampermonkey, I'm using version 4.21.3.
Shall I try the new beta? I thought I was already on the main channel.

7 years ago
Permalink

Comment has been collapsed.

That version is 3 months old. I'd definitely recommend updating. You might find some complications while doing so, as in, there could appear 2 versions of the script when you try to update. To prevent data loss, you'd have to export from one script and into the other. It's advisable to update first to v5, and then from v5 to v6, as that version is way too old and might not be completely compatible with v6.

7 years ago
Permalink

Comment has been collapsed.

i'm not 100% sure they're talking about the correct version.
the line

I've been having this issue for a long time now in spite of all the updates

makes me think they may of accidentally listed the tampermokey version they're using instead possibly? (i'm on 4.3.6 TM)

7 years ago
Permalink

Comment has been collapsed.

I think they just assumed the script was auto-updating during that time, but of course v4 would never auto-update to v5 because of the name change.

7 years ago
Permalink

Comment has been collapsed.

yeah you were right. i just checked the TM changelog. they haven't done a 4.2x.x at all, so they must still be back on rhSGST.

7 years ago
Permalink

Comment has been collapsed.

Yeap, exactly. I blindly though that whenever a new update was announced here I was being automatically updated since I even saw the changes in my installation. At some point it stopped (when v5 arrived) and I didn't realize.

7 years ago
Permalink

Comment has been collapsed.

after updating (keep in mind to do it in steps like rafael/revil said), you'll be in for a LOT of changes & new features. ^^

7 years ago
Permalink

Comment has been collapsed.

Thank you for your help and answers so far. =0)

7 years ago
Permalink

Comment has been collapsed.

I finally have some time to make the upgrade.
I've installed v5.3.3 from one of the earlier commits, which resulted in to different scripts installed; rhSGST v4.21.3 and the newly added ESGST v5.3.3.

I disabled rhSGST and enabled ESGST. At first ESGST menu option showed only sometimes so I did a factory reset of it.
After that the menu option was shown but all settings were disabled. So I reenabled the most important ones for me: the user tags and notes. Upon doing this, however, the menu option disappears again and the scripts stops working.

Any idea how I should proceed?
I don't want to lose user tags (and other info) but after exporting rhSGST storage JSON and coping its values into the valid keys in ESGST storage, I get the aforementioned behavior.


I decided to go ahead and update ESGST to the latest version. The script is working now.
However, I've lost user tags and notes. I still have the storage JSON from rhSGST.
How can I import the tags and notes?

7 years ago*
Permalink

Comment has been collapsed.

You can't import them, that's why I said you have to update slowly. You have to update from v4 to v5, then your notes/tags are carried over, then you update from v5 to v6 and they are still carried over. Then you should probably update to v6.Beta.25.5, and finally to the latest.

Change the @name and @namespace in rhSGST to ESGST and update to v5. That will replace the script instead of installing one side-by-side.

7 years ago
Permalink

Comment has been collapsed.

Thanks again for your reply.
I tried this, with no success.

This is what I did now:

  1. Browsed the Commits until I reached the very first versions of v5.
  2. I decided to install v5 from here.
  3. Then, I changed @name in my installed v4 to match the script mentioned in 2).
  4. Installed the script from 2), which was correctly detected as an upgrade.
  5. Confirmed I have only one instance of ESGST installed which is v5.0.1.

Result: The script works, but my user tags are gone.
Edit: It doesn't work (fails to load FixedElements.v5.0.1.js), just showed the menu button.

What am I doing wrong?

7 years ago*
Permalink

Comment has been collapsed.

Are you sure the tags are gone? Maybe they are just not visible because the script is failing to load that file, but if the menu is showing, then something is running. You can replace the file URL with https://github.com/revilheart/ESGST/blob/c6a0f79c5531f74612d07c0177898b9d78cf3181/Features/FixedElements.v5.0.1.js in the script so that the file is loaded correctly.

7 years ago
Permalink

Comment has been collapsed.

Aha! I'm slowly getting the hang of GIT. Shame on me!

That fixed the loading issue, but now console is showing this:

VM1895:60 Syntax error @ "ESGST"!
##########################
JSHINT output:
require: (E030) Expected an identifier and instead saw '<' on line: 8 at character: 1
require: (E033) Expected an operator and instead saw '!' on line: 8 at character: 2
require: (W030) Expected an assignment or function call and instead saw an expression on line: 8 at character: 2
require: (E058) Missing semicolon on line: 8 at character: 3
require: (W030) Expected an assignment or function call and instead saw an expression on line: 8 at character: 3
require: (E058) Missing semicolon on line: 8 at character: 10
require: (E030) Expected an identifier and instead saw '<' on line: 9 at character: 1
require: (E041) Unrecoverable syntax error. (0% scanned) on line: 9 at character: 1
##########################

SyntaxError: Unexpected token <
    at new Function (<anonymous>)
    at Object.E_c (<anonymous>:3:221)
    at E (eval at exec_fn (:1:108), <anonymous>:59:467)
    at Object.create (eval at exec_fn (:1:108), <anonymous>:68:51)
    at e (eval at exec_fn (:1:108), <anonymous>:16:238)
    at Object.runListeners (eval at exec_fn (:1:108), <anonymous>:16:197)
    at Object.run (eval at exec_fn (:1:108), <anonymous>:17:194)
    at eval (eval at exec_fn (:1:108), <anonymous>:69:302)
    at Array.forEach (<anonymous>)
    at <anonymous>:2:398

Still no tags shown, of course.
Shall I proceed updating or fix this error first (no idea how, though)?

7 years ago
Permalink

Comment has been collapsed.

Can you check the storage of the script to see if the tags have carried on? Tampermonkey has a Storage tab if you change its mode to Advanced.

7 years ago
Permalink

Comment has been collapsed.

OK. Couldn't make the Storage tab appear, but using the TM Export feature I can see the storage still has the notes and tags.

7 years ago
Permalink

Comment has been collapsed.

Then they carried on. Try updating to the very first v6.

7 years ago
Permalink

Comment has been collapsed.

I went on to upgrade to this one.
Changed @name and @namespace and made sure it was taken as an upgrade.
I have just one version installed, which is 6.Beta.0.1.

On first load, a message told me to check the console since ESGST failed to load.
The console pointed to the failure to load the required resources, so I fixed that.

Now, I'm faced with the same Syntax error @ "ESGST"! as before in console.
This time, however, the menu button for ESGST was never shown.

Shall I proceed to upgrade to the latest version?
User notes and tags are still in the storage, with the same format as before.
I'm afraid the newer version has yet to execute. If there is an storage upgrade, that still needs to be executed, it may make things worse.

7 years ago
Permalink

Comment has been collapsed.

Did you fix the required resources without editing any other line in the script? I don't know what's causing the syntax error. Try making a TM backup and updating to v6.Beta.25.5, which is the last version that supported the old format.

7 years ago
Permalink

Comment has been collapsed.

First; yes, I only fixed the required resources without editing any other line. I even did a syntax check from inside TM which yielded no issues.

Now, I upgraded to v6.Beta.25.5 following your link.
The only resource failed to load was an icon file. The menu option now shows.
Most of the settings were turned off now, but upon enabling User Notes and User Tags, I can see them!

(Also, I found the Storage tab!)

What could the next step be?
We are on the right track, I believe!

7 years ago
Permalink

Comment has been collapsed.

If you can see the tags, you're good to go to the latest version, but make a backup again just in case.

7 years ago
Permalink

Comment has been collapsed.

Everything seems to be working flawlessly with no data lost. I'm also enjoying a lot of new features!
Thanks for sticking with me during these long hours and your help! Really appreciate it.

Do you take donations? Where can I send them to?
(No for the script, because I know that may create some conflict, but for your assistance.)

7 years ago
Permalink

Comment has been collapsed.

Glad to hear it. No problem. :)

I don't, but thanks for the offer. :)

7 years ago
Permalink

Comment has been collapsed.

Do you mind if I add you on Steam?
I may some day come across something on your wishlist that I can gift to you.

7 years ago
Permalink

Comment has been collapsed.

Nope, feel free to add me. :)

7 years ago
Permalink

Comment has been collapsed.

View your highlighted discussions bugs.

  1. If viewed from a giveaway chance and ratio are added.
  2. New comment count/go to first unread/mark all read or unread are missing if not viewed from www.steamgifts.com/discussions
7 years ago
Permalink

Comment has been collapsed.

Check for non-activated / multiple wins, seem broken with the latest release. At least it's stopping for me after the first winner is checked. Can't find anything helpful in the console regarding this.

Also, this new group thing is just awesome. Very helpful for quickly deciding which giveaways to ignore. Kudos

7 years ago
Permalink

Comment has been collapsed.

Should be fixed.

7 years ago
Permalink

Comment has been collapsed.

giveaway data titles are undefined atm.
(even after a clearing cache and getting fresh data)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

On Sent only it seems

7 years ago
Permalink

Comment has been collapsed.

Forgot to add to changelog:

  • Added back the option that was missing from Comment Tracker to mark discussions as visited.
7 years ago
Permalink

Comment has been collapsed.

Seems something is really broke. On Discussions, these exceptions pop up.

4 ESGST features failed to load: Not Activated/Multiple Wins Checker, Whitelist/Blacklist Checker, Whitelist/Blacklist Highlighter, User Tags. Check the console (F12) for errors and report them in the script's discussion/GitHub page.

Exception Log:
SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at highlightNamwcUsers (eval at E_c (:3:221), <anonymous>:15812:30) at Object.loadNotActivatedMultipleWinsChecker [as load] (eval at E_c (:3:221), <anonymous>:15521:13) at loadFeatures (eval at E_c (:3:221), <anonymous>:1945:33) at loadEsgst (eval at E_c (:3:221), <anonymous>:1908:9) at eval (eval at E_c (:3:221), <anonymous>:412:9) at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:21317:3) at <anonymous>:2:398 at eval (eval at E_c (:3:221), <anonymous>:3:1) at eval (eval at E_c (:3:221), <anonymous>:4:3) VM177:1953 SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at addWbcIcons (eval at E_c (:3:221), <anonymous>:16850:30) at Object.loadWhitelistBlacklistChecker [as load] (eval at E_c (:3:221), <anonymous>:16282:13) at loadFeatures (eval at E_c (:3:221), <anonymous>:1945:33) at loadEsgst (eval at E_c (:3:221), <anonymous>:1908:9) at eval (eval at E_c (:3:221), <anonymous>:412:9) at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:21317:3) at <anonymous>:2:398 at eval (eval at E_c (:3:221), <anonymous>:3:1) at eval (eval at E_c (:3:221), <anonymous>:4:3) VM177:1953 SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at Object.loadWhitelistBlacklistHighlighter [as load] (eval at E_c (:3:221), <anonymous>:16887:30) at loadFeatures (eval at E_c (:3:221), <anonymous>:1945:33) at loadEsgst (eval at E_c (:3:221), <anonymous>:1908:9) at eval (eval at E_c (:3:221), <anonymous>:412:9) at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:21317:3) at <anonymous>:2:398 at eval (eval at E_c (:3:221), <anonymous>:3:1) at eval (eval at E_c (:3:221), <anonymous>:4:3) at Object.eval (eval at E_c (:3:221), <anonymous>:21318:6) VM177:1953 SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at Object.loadUserTags [as load] (eval at E_c (:3:221), <anonymous>:14979:22) at loadFeatures (eval at E_c (:3:221), <anonymous>:1945:33) at loadEsgst (eval at E_c (:3:221), <anonymous>:1908:9) at eval (eval at E_c (:3:221), <anonymous>:412:9) at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:21317:3) at <anonymous>:2:398 at eval (eval at E_c (:3:221), <anonymous>:3:1) at eval (eval at E_c (:3:221), <anonymous>:4:3) at Object.eval (eval at E_c (:3:221), <anonymous>:21318:6)

And on Giveaways created page, this error.

1 ESGST features failed to load: User Tags. Check the console (F12) for errors and report them in the script's discussion/GitHub page.

Exception log:
SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at Object.loadUserTags [as load] (eval at E_c (:3:221), <anonymous>:14979:22) at loadFeatures (eval at E_c (:3:221), <anonymous>:1945:33) at loadEsgst (eval at E_c (:3:221), <anonymous>:1908:9) at eval (eval at E_c (:3:221), <anonymous>:412:9) at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:21317:3) at <anonymous>:2:398 at eval (eval at E_c (:3:221), <anonymous>:3:1) at eval (eval at E_c (:3:221), <anonymous>:4:3) at Object.eval (eval at E_c (:3:221), <anonymous>:21318:6)

7 years ago
Permalink

Comment has been collapsed.

+1, also getting this, altough only for the Whitelist/Blacklist Checker.
Disabling it seems to remove the error.

EDIT:
Also tried to clear cache and delete all stored data but both fail atm.

7 years ago*
Permalink

Comment has been collapsed.

Can you try adding

console.log(GM_getValue(`users`));

to the beginning of the script and check the console?

7 years ago
Permalink

Comment has been collapsed.

Not exactly sure where you mean with beginning , but both before function and after, I get only "undefined" in the log

7 years ago
Permalink

Comment has been collapsed.

Did you have saved user data before? Looks like something went wrong when upgrading the data to v6.

7 years ago
Permalink

Comment has been collapsed.

I use the import/export to switch between the 2 PCs I'm using, so it is possible that there was a problem.
Like i wrote above I tried to manually delete the Data but it didn't work either.

7 years ago
Permalink

Comment has been collapsed.

Try forcing another update. Go to the line that says

if (!GM_getValue(`userStorageV6`, false)) {

(should be line 72 if we have the same version) and change userStorageV6 to userStorageV6_2. Then load any page and see if it's fixed.

7 years ago
Permalink

Comment has been collapsed.

yeah that does it
no more error and the next reload also outputs the user data
thanks :)

7 years ago
Permalink

Comment has been collapsed.

See fix in my replies to MANotorer.

7 years ago
Permalink

Comment has been collapsed.

Just wanted to say that I liked when GA Group Popup marked groups you were part of with green overlay. That is all.

7 years ago
Permalink

Comment has been collapsed.

Happy Cake Day!

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Thx

7 years ago
Permalink

Comment has been collapsed.

I'll add it back later. Happy cake day!

7 years ago
Permalink

Comment has been collapsed.

It's back.

7 years ago
Permalink

Comment has been collapsed.

Thanks and thanks! :D

7 years ago
Permalink

Comment has been collapsed.

After the Check for non-activated / multiple wins and if a users has multiple wins the link to sgtools is wrong.
He links both times to non-activated wins.

7 years ago
Permalink

Comment has been collapsed.

+1 same here

7 years ago
Permalink

Comment has been collapsed.

Should be fixed.

7 years ago
Permalink

Comment has been collapsed.

seems so for me, thanks! =)

7 years ago
Permalink

Comment has been collapsed.

Just wanted to say I love some of the recent changes and new features, thank you!. :)

7 years ago
Permalink

Comment has been collapsed.

Thank you for using! :)

7 years ago
Permalink

Comment has been collapsed.

after updating to v6.Beta.6.0 I'm getting those errors in the main page:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Stack trace:
getGbGiveaways@https://www.steamgifts.com/ line 3 > Function:20117:30
loadGb@https://www.steamgifts.com/ line 3 > Function:19959:13
loadFeatures@https://www.steamgifts.com/ line 3 > Function:1962:25
loadEsgst@https://www.steamgifts.com/ line 3 > Function:1925:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57/<@https://www.steamgifts.com/ line 3 > Function:413:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57@https://www.steamgifts.com/ line 3 > Function:401:2
k</<@https://www.steamgifts.com/:2:385
anonymous/<@https://www.steamgifts.com/ line 3 > Function:4:1
anonymous/<@https://www.steamgifts.com/ line 3 > Function:3:55
anonymous@https://www.steamgifts.com/ line 3 > Function:3:2
k</<@https://www.steamgifts.com/:2:385
E_c@https://www.steamgifts.com/:3:209
E@https://www.steamgifts.com/ line 1 > Function:59:465
create@https://www.steamgifts.com/ line 1 > Function:68:51
t@https://www.steamgifts.com/ line 1 > Function:16:235
  %20line%203%20%3E%20Function:1970:25
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Stack trace:
getGbGiveaways@https://www.steamgifts.com/ line 3 > Function:20117:30
loadGiveawayFeatures@https://www.steamgifts.com/ line 3 > Function:19788:13
loadFeatures@https://www.steamgifts.com/ line 3 > Function:1962:25
loadEsgst@https://www.steamgifts.com/ line 3 > Function:1925:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57/<@https://www.steamgifts.com/ line 3 > Function:413:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57@https://www.steamgifts.com/ line 3 > Function:401:2
k</<@https://www.steamgifts.com/:2:385
anonymous/<@https://www.steamgifts.com/ line 3 > Function:4:1
anonymous/<@https://www.steamgifts.com/ line 3 > Function:3:55
anonymous@https://www.steamgifts.com/ line 3 > Function:3:2
k</<@https://www.steamgifts.com/:2:385
E_c@https://www.steamgifts.com/:3:209
E@https://www.steamgifts.com/ line 1 > Function:59:465
create@https://www.steamgifts.com/ line 1 > Function:68:51
t@https://www.steamgifts.com/ line 1 > Function:16:235
  %20line%203%20%3E%20Function:1970:25

and this one everywhere else:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Stack trace:
getGbGiveaways@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:20117:30
loadGb@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:19959:13
loadFeatures@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:1962:25
loadEsgst@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:1925:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57/<@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:413:9
tms_46788beb_e69b_42bd_b1e7_e1b0c3607d57@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:401:2
k</<@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT:2:385
anonymous/<@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:4:1
anonymous/<@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:3:55
anonymous@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 3 > Function:3:2
k</<@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT:2:385
E_c@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT:3:209
E@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 1 > Function:60:465
create@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 1 > Function:69:51
t@https://www.steamgifts.com/discussion/TDyzv/userscript-esgst-v6beta50-new-features-giveaway-groups-loader-one-click-hide-giveaway-btn/search?page=31#bMfT7XT line 1 > Function:17:235
  search:1970:25

edit: they only happen if the new bookmark feature is activated

7 years ago*
Permalink

Comment has been collapsed.

Should be fixed.

7 years ago
Permalink

Comment has been collapsed.

some bugs with giveaways bookmarks

  • every bookmarked giveaway loaded by the popup enlarges the popup horizontally
  • they are not faded according to their entered status in the popup
  • the enter/leave button does not respect their entered status in the popup
  • if gridview is enabled it shows a column of giveaways(only the image) in the popup when in the main page, but a normal list of giveaways in the popup when somewhere else
7 years ago*
Permalink

Comment has been collapsed.

1st is not a bug. Will fix the others later.

7 years ago
Permalink

Comment has been collapsed.

about the 4th and the 1st i would expect it to behave like the decrypted giveaways popup

View attached image.
View attached image.
7 years ago
Permalink

Comment has been collapsed.

It should though, the popup is set to have a max width of 75%. Don't know why it's not working for bookmarked, will look into it.

7 years ago
Permalink

Comment has been collapsed.

i also think that the vertical behavior from the decrypted popup is better

7 years ago
Permalink

Comment has been collapsed.

It should also work the same. They are literally the same popup. :P

7 years ago
Permalink

Comment has been collapsed.

It uses .esgst-popup which has no styling, .rhPopup has the max width/height and overflow.

Edit: never mind its just a semicolon after the closing bracket on .esgst-popout that is causing .esgst-popup styling to not work.

But comment history still only shows 1 comment ;)

7 years ago*
Permalink

Comment has been collapsed.

Ah so that's it, thanks for noticing the bug. :)

7 years ago
Permalink

Comment has been collapsed.

Thank you for the implementation of showing the group names under the GA. <3

7 years ago
Permalink

Comment has been collapsed.

Can you correct the link?

7 years ago
Permalink

Comment has been collapsed.

Is it possible that the giveaway has ended?

7 years ago
Permalink

Comment has been collapsed.

"Ended Jun 14, 2017, 8:00:00 - 8 hours ago"

edit: and the one bellow it "Ended Jun 14, 2017, 15:20:00 - 1 hour ago"

edit2: those are on my timezone GMT-3 (Brasília)

7 years ago*
Permalink

Comment has been collapsed.

That's it then, thanks for checking. :)

7 years ago
Permalink

Comment has been collapsed.

Bump for new feature. :P

7 years ago
Permalink

Comment has been collapsed.

Hey rafaelgs18 and Royalgamer06, thanks for your great script. I´m using it for more than a month now and it makes SG even a better place.

Not sure if this is the right place to mention it but yesterday i realized that the real CV calculation on my profile for gifts sent (34.50 $) is not like on sgtools (51.55 $). Gifts won is equal. It´s no big deal to me, just wanted to let you know. I´m on v6.Beta.7.0 now and have all syncs refreshed today. The only other scrip i´m using is SGv2 Dark to get rid of the white background. Maybe i´m doing something wrong but so far i couldn´t figure out why the numbers are different.

Keep up the good work guys!

7 years ago
Permalink

Comment has been collapsed.

You're appearing correctly for me. $35 won and $51 sent. Are you sure you didn't look in the wrong place?

7 years ago
Permalink

Comment has been collapsed.

Well now it works correctly for me again, showing 51$ sent. Maybe i messed up something yesterday. Anyway thanks for your answer and the useful script. You really deserve a lot of blue hearts including mine!

7 years ago
Permalink

Comment has been collapsed.

Thank you!

7 years ago
Permalink

Comment has been collapsed.

Can I get some feedback on this? I wonder what you guys would feel about a design change to Giveaway Winning Chance/Ratio and Enter/Leave Giveaway Button to the left side, like this.

It looks good for me, but when there are icon columns after it, I'm not so sure.

Should I just leave it alone in the right?

7 years ago
Permalink

Comment has been collapsed.

Right side seems more natural, but if you want to change something check out cpu/memory use ;)

7 years ago
Permalink

Comment has been collapsed.

That issue is something that I have to work on over time, as I can't find the specific thing that's causing the high consumption yet, and I'm not quite sure what to optimize. I've already optimized all recursive functions in the script to make them not recursive, which was consuming a lot of memory in earlier versions of the script. I keep hovering around 300MB while using the script, so I'm not having the issues that other people seem to be having with memory, which makes it hard for me to track it down (I do get spikes to 1GB when I run a checker or something, but they eventually clear out in a few seconds).

7 years ago
Permalink

Comment has been collapsed.

in the normal view i would maintain the layout currently used,
in the gridview i would only align the enter/leave button to the left but would not change the layout otherwise

7 years ago
Permalink

Comment has been collapsed.

+1 that is how i have it.

7 years ago
Permalink

Comment has been collapsed.

I prefer them where they are now (in normal view, I don't use grid view)

7 years ago
Permalink

Comment has been collapsed.

I´m using normal view and prefer to have the enter button on the right side because if i browse through the GAs my view and mouse cursor is centered on the pictures of the games.

7 years ago
Permalink

Comment has been collapsed.

Isn't it great to always have options to choose from instead of only having one option when UI design-related changes occur?
Eg: date formation (US/EU/Asia), 24-hour clock(already done!) and options this post suggest.

7 years ago
Permalink

Comment has been collapsed.

I think it's not bad. I quite like it. Just to get used to it. :)

7 years ago
Permalink

Comment has been collapsed.

[Feature Request]
In "My Giveaways" -- "Entered" page
The "Chance / Ratio" is a little difficult to read clearly between these two figures when browsing vertically.
See first picture down below.
Is it possible to add three display options to choose from "Chance," "Ratio" and "Both."
Or something like the second picture down below.

Thanks.

View attached image.
View attached image.
7 years ago
Permalink

Comment has been collapsed.

Changed it.

7 years ago
Permalink

Comment has been collapsed.

VM58:20390 Uncaught TypeError: Cannot convert undefined or null to object
at eval (eval at E_c (:3:221), <anonymous>:20390:42)
at Window.eval (eval at E_c (:3:221), <anonymous>:2642:21)
at <anonymous>:2:398
at e.string.k.function.c.(anonymous function) (eval at exec_fn (:1:108), <anonymous>:53:352)

Just had this error when RAM went to 1.8GB, it happened while clicking "enter" and waiting for popup to show description. Entered few GA before that with and without description.

@version 6.Beta.7.0

7 years ago
Permalink

Comment has been collapsed.

replicated error here, but without the wait and ram usage. (it still joins for me, but the error does exist regardless)

7 years ago
Permalink

Comment has been collapsed.

It looks like error is happening when clicking "enter" on popup, then i guess high RAM caused it to work slow and just mentioned it since it happens sometimes.

7 years ago
Permalink

Comment has been collapsed.

Should be fixed in 7.1.

7 years ago
Permalink

Comment has been collapsed.

Cool, thanks :)

7 years ago
Permalink

Comment has been collapsed.

I apologize if these were already brought up, but two issues I've noticed on two different computers:

  1. Giveaway Filters no longer seems to be saving at least some of the settings. I set the filter to not show giveaways above my level (8), and it works correctly as long as the browser is open, but if I close the browser and re-open, it resets back to a max level of 10 every time. I'm pretty sure this was saving settings earlier.

  2. I have the automatic sync (item 7. in the settings) set to 4 days on both computers, yet they've both gotten to almost two weeks without ever synching or showing a sign that the sync is trying to run. I can (and have now) run it manually without issue, but it doesn't seem to be running automatically any longer.

Thanks again for all of your work on this.

7 years ago
Permalink

Comment has been collapsed.

I can confirm the first one issue exist. 😥

7 years ago
Permalink

Comment has been collapsed.

Both should be fixed. For the 2nd you need to perform a manual sync after updating to Beta.10.1 so it can fix itself.

7 years ago
Permalink

Comment has been collapsed.

big error....

SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at highlightNamwcUsers (eval at E_c (:3:221), <anonymous>:15846:30)
    at Object.loadNotActivatedMultipleWinsChecker [as load] (eval at E_c (:3:221), <anonymous>:15555:13)
    at loadFeatures (eval at E_c (:3:221), <anonymous>:1982:33)
    at loadEsgst (eval at E_c (:3:221), <anonymous>:1945:9)
    at eval (eval at E_c (:3:221), <anonymous>:412:9)
    at Window.tms_b08b5eca_9bc9_4dfa_920d_ddaa37ae358e (eval at E_c (:3:221), <anonymous>:21826:3)
    at <anonymous>:2:398
    at eval (eval at E_c (:3:221), <anonymous>:3:1)
    at eval (eval at E_c (:3:221), <anonymous>:4:3)
(unknown) SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at addWbcIcons (eval at E_c (:3:221), <anonymous>:17025:30)
    at Object.loadWhitelistBlacklistChecker [as load] (eval at E_c (:3:221), <anonymous>:16458:13)
    at loadFeatures (eval at E_c (:3:221), <anonymous>:1982:33)
    at loadEsgst (eval at E_c (:3:221), <anonymous>:1945:9)
    at eval (eval at E_c (:3:221), <anonymous>:412:9)
    at Window.tms_b08b5eca_9bc9_4dfa_920d_ddaa37ae358e (eval at E_c (:3:221), <anonymous>:21826:3)
    at <anonymous>:2:398
    at eval (eval at E_c (:3:221), <anonymous>:3:1)
    at eval (eval at E_c (:3:221), <anonymous>:4:3)
(unknown) SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at Object.loadWhitelistBlacklistHighlighter [as load] (eval at E_c (:3:221), <anonymous>:17062:30)
    at loadFeatures (eval at E_c (:3:221), <anonymous>:1982:33)
    at loadEsgst (eval at E_c (:3:221), <anonymous>:1945:9)
    at eval (eval at E_c (:3:221), <anonymous>:412:9)
    at Window.tms_b08b5eca_9bc9_4dfa_920d_ddaa37ae358e (eval at E_c (:3:221), <anonymous>:21826:3)
    at <anonymous>:2:398
    at eval (eval at E_c (:3:221), <anonymous>:3:1)
    at eval (eval at E_c (:3:221), <anonymous>:4:3)
    at Object.eval (eval at E_c (:3:221), <anonymous>:21828:6)

back story on this error... tab1 was doing auto-send delivery, while i was talking to someone in tab2. after one of my comments i started getting this error. i had hoped it was something already fixed so i updated to 7.1 and am still getting this error.. (it only sent 1/5 of the games as well)

7 years ago
Permalink

Comment has been collapsed.

Try adding

GM_setValue(`users`, JSON.stringify(GM_getValue(`users`)));

at the beginning of the script until I push the next update. There is a bug while using Unsent Gifts Sender with the option to only send to users with 0 not activated/multiple wins.

7 years ago
Permalink

Comment has been collapsed.

ahh, okay. thanks, that took the error away at least. ^^

7 years ago
Permalink

Comment has been collapsed.

rulechecker is broken for me now too (individual scan). unsure if it's a side effect of the prior error or a separate issue, but thought i'd mention it.


edit: actually my entire browser is completely ate up now. i told it to exit chrome and it's still writing stuff to the hard drive 5mins later, not closing out.. speaking in firefox on this edit due to it. --- trying to allow that to settle before i reboot linux.

7 years ago*
Permalink

Comment has been collapsed.

Broken how? I just pushed an update that fixes the UGS bug, but it shouldn't affect NAMWC.

7 years ago
Permalink

Comment has been collapsed.

i think it was or maybe still is that GM_setvalue writing or rewriting stuff to the cache? idk. it totally ate up my browser though.
now that i went 7.2 i'm not getting anything from the script any longer either.

/discussion/TDyzv/userscript-esgst-v6beta70-new-features-giveaway-bookmarks-user-filters/search?page=32#epL2nRe:1
Error in event handler for (unknown): RangeError: Invalid string length
    at a (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:7:176)
    at Object.send (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:8:63)
    at Object.next (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:13:254)
    at chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:26:318
    at chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:24:28
7 years ago
Permalink

Comment has been collapsed.

Did you remove the line that you added earlier?

7 years ago
Permalink

Comment has been collapsed.

yes
i had added & saved, refreshed a page, removed and saved, refreshed page again, and a minute or two later the browser stopped responding well. so i told it to exit chrome, it closed the window but had the process going for a long while afterwards.. it finally closed the process out on its own and i restarted linux. came back up, saw you pushed the update to 7.2 and updated.

7 years ago
Permalink

Comment has been collapsed.

Is it still happening?

7 years ago
Permalink

Comment has been collapsed.

depends which it? the script is no longer eating my browser up, but instead it just doesn't work at all now.

edit: in fact, it's preventing any script from running what so ever now.

7 years ago
Permalink

Comment has been collapsed.

Is it not running at all or running and throwing errors? If you can log stuff, what is the output of console.log(GM_getValue("users"));?

7 years ago
Permalink

Comment has been collapsed.

not running at all.

/discussion/TDyzv/userscript-esgst-v6beta70-new-features-giveaway-bookmarks-user-filters/search?page=32#tIue9ad:1 Error in event handler for (unknown): RangeError: Invalid string length
    at a (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:7:176)
    at Object.send (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:8:63)
    at Object.next (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:13:254)
    at chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:26:318
    at chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/content.js:24:28
console.log(GM_getValue("users"));
VM868:1 Uncaught ReferenceError: GM_getValue is not defined
    at <anonymous>:1:8

it seems to be making tampermonkey extension itself throw errors.

7 years ago
Permalink

Comment has been collapsed.

Can you access the script's storage through Tampermonkey to check the value of users manually?

7 years ago
Permalink

Comment has been collapsed.

i don't know how thru TM, and i can't remember where it's stored on the drive.. something like /home/d3m4n/.config/google-chrome/...... can't remb past that.

7 years ago
Permalink

Comment has been collapsed.

I believe there is a tab called storage while editing the script on TM.

7 years ago
Permalink

Comment has been collapsed.

i only see "settings" and "externals" - neither of which have anything relating to "users" in them.

edit:
ahhhh.. after changing TM to "advanced user mode" now i have that tab... it's loading.....

edit2: 4x unresponsive timeout's later and i'm still "Please wait...." 'ing.

7 years ago*
Permalink

Comment has been collapsed.

Tampermonkey has crashed, please click this baloon to reload.

too much data to load.

7 years ago
Permalink

Comment has been collapsed.

should i just roll back to last night and update again?
it's not a big deal to me really

7 years ago
Permalink

Comment has been collapsed.

I think rolling back won't matter if something went wrong with the storage. You'll probably have to delete the storage (which I assume is no problem since you export everything).

7 years ago
Permalink

Comment has been collapsed.

i meant a tampermonkey scripts+data rollback. =)
i'll just do that though, it's only a few dozen comments i'd need to re-mark as read anyways really. :D

7 years ago
Permalink

Comment has been collapsed.

i'm back.. ^^
and updating to 7.2 works fine too.

i think that the unsent gift sender wrote a bad piece of cache though and from then on out it just kept getting worse with each repair attempt. xD either way, it's fixed now.. thanks for helping. =)

7 years ago
Permalink

Comment has been collapsed.

Glad to hear it. :) Can you try using UGS again to see if there are no more issues?

7 years ago
Permalink

Comment has been collapsed.

seems to be working really well..
in fact, almost a bit too well? is the request limit still there, cause it was a bit too fast.

edit: i don't think it truly checked them, i think it pulled old results.
(the group i tested with is all safe to gift to though, so it's okay)

7 years ago*
Permalink

Comment has been collapsed.

Hiding entered GA doesn't stay on anymore...
When switching from all to wishlist for example, entered GAs reappear everytime :(

7 years ago
Permalink

Comment has been collapsed.

Is this still happening?

7 years ago
Permalink

Comment has been collapsed.

No it's fixed since a few upgrades :)

7 years ago
Permalink

Comment has been collapsed.

TypeError: (intermediate value).nextElementSibling is null
always happens when I visit a site where the GA hasn't started yet

7 years ago
Permalink

Comment has been collapsed.

Is this still happening?

7 years ago
Permalink

Comment has been collapsed.

After update to v6.Beta.7.2 from 7.0? (not sure): Giveaway filters begin to be applied only after changing any parameter. After refreshing the page filters doesn't work again.
Same main page: http://imgur.com/a/pPaER

7 years ago
Permalink

Comment has been collapsed.

Is it fixed?

7 years ago
Permalink

Comment has been collapsed.

If he means the browser refresh that works but fixed header refresh button does not, and max points 0 gives incorrect reults.

7 years ago
Permalink

Comment has been collapsed.

What fixed header refresh button? I'm confused.

Well, there are no giveaways with 0 points. :P I'll have to add limits to the max values later.

7 years ago
Permalink

Comment has been collapsed.

i have no idea what either of them mean, but there are actually some 0 point giveaways occasionally. it only seems to happen when a steam store page exists, but doesn't have its price. most commonly bundle keys prior to full release date.

edit: i couldn't think of any old examples, but they wouldn't of done any good anyways since they've since then been priced.

7 years ago*
Permalink

Comment has been collapsed.

Bioshock is 0 points if you want to test it.

7 years ago
Permalink

Comment has been collapsed.

i'm sure revil just left it out of the range or something along those lines not realizing they existed. he'll probably get around to fixing it also. ^^

7 years ago
Permalink

Comment has been collapsed.

Confirmed working max 0 point filter 😀
0 point giveaway

7 years ago
Permalink

Comment has been collapsed.

yep, tested working here too. ^^

7 years ago
Permalink

Comment has been collapsed.

sorry fixed heading, and max points 0 is incorrect even when 0 point giveaways exist.

<div class="page_heading_btn esgst-es-refresh-button" title="Refresh the current page">
7 years ago
Permalink

Comment has been collapsed.

No :(
Even checked it in other browser with only ESGST installed (no other scripts).

7 years ago
Permalink

Comment has been collapsed.

What exactly is happening? I'm a bit confused from your post.

7 years ago
Permalink

Comment has been collapsed.

Giveaway filters do not work for me (0 giveaways currently being filtered). To start them working, I should change any parameter, for example 'Min Entries' from 0 to 1, then I get: (39 giveaways currently being filtered). But If I refresh the page, I'll get (0 giveaways currently being filtered) again.
http://imgur.com/a/0aTo9
Sorry for my English.

7 years ago
Permalink

Comment has been collapsed.

What it appears to me is that it isn't saving your settings. Are you using the latest version?

7 years ago
Permalink

Comment has been collapsed.

Yes, 6.Beta.8.0 (same bug in latest chrome and opera). As I can see settings in https://www.steamgifts.com/account/settings/profile#ESGST and Basic Filters/Type Filters/Exception Filters are saved. Giveaway filters settings just somehow do not apply to the page after loading.

7 years ago
Permalink

Comment has been collapsed.

Try enabling game categories, does it work then?

7 years ago
Permalink

Comment has been collapsed.

It works! Thank you!

7 years ago
Permalink

Comment has been collapsed.

My guess: he isn't using game categories.
I noticed that even with Beta 8.0 i have to enable the main function for game categories (without any subfunctions, i don't use this feature right now) to make filters work. Without game categories enabled i have to change a single filter setting or enter a giveaway to make filters work again.
Edit: the date of the latest changelog is wrong. :P

7 years ago*
Permalink

Comment has been collapsed.

You are absolutely right.

7 years ago
Permalink

Comment has been collapsed.

Should be fixed now.

7 years ago
Permalink

Comment has been collapsed.

Thank you.

7 years ago
Permalink

Comment has been collapsed.

Thanks for catching that bug. :)

7 years ago
Permalink

Comment has been collapsed.

Thank you for your continuous effort. :)

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.