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.

May I ask how is synching of user notes handling cases where I updated the same user notes on both machines (source and target)? Does it prompt which version to take?

7 years ago
Permalink

Comment has been collapsed.

You mean export/import? Currently it simply overwrites the target with the source (it's more meant as a backup instead of a way to share data between devices). But I do plan on releasing a more complex system soon (my soon is probably 2 weeks). I also have to look into a possible cloud application.

7 years ago
Permalink

Comment has been collapsed.

Thanks, I think I'll wait then. I'm using two different machines and overwriting the data of my main with the secondary would be very bad, as I'd lose almost all of my data.I hope there's a warning before applying the import, because it may not be obvious that the data is overwritten and not synced (I'm glad I asked).

7 years ago
Permalink

Comment has been collapsed.

There is a warning but it doesn't mention that the data is overwritten. Although a copy of your current data is automatically downloaded when importing new data, so you wouldn't lose anything.

7 years ago
Permalink

Comment has been collapsed.

The data should be merged in v6.Beta.3.5 if you select the option to do so, but keep a backup of both of the data just to be safe.

7 years ago
Permalink

Comment has been collapsed.

Is it possible to change the Link and Image popouts a little?

I've changed them to this:

                Popout.innerHTML =
                    "URL: <input id=\"LinkURL\" onfocus=\"this.select();\" onmouseup=\"return false;\"  placeholder=\"http://www.example.com\" type=\"text\"/>" +
                    "Title: <input id=\"LinkTitle\" onfocus=\"this.select();\" onmouseup=\"return false;\" placeholder=\"Cat\" type=\"text\"/>" +
                    "<div class=\"form__saving-button btn_action white\">Add</div>";

and:

                Popout.innerHTML =
                    "URL: <input id=\"ImageURL\" onfocus=\"this.select();\" onmouseup=\"return false;\" placeholder=\"http://www.example.com/image.jpg\" type=\"text\"/>" +
                    "Title: <input id=\"ImageTitle\" onfocus=\"this.select();\" onmouseup=\"return false;\" placeholder=\"Cats\" type=\"text\"/>" +
                    "<div class=\"form__saving-button btn_action white\">Add</div>";

The issue is that when you want to add more than one link or image it still shows the text of the previous one and you had to select that first before being able to paste in the new link/title. This way it selects the current text when the field gets focus.

And speaking of focus...

It would be really nice if the link field got focus automatically when clicking the Link or Image button. I tried the default Javascript focus() function:

document.getElementById("LinkURL").focus();

Using the ID I gave to the fields in the code above, obviously. This doesn't work, probably cause the popup gets added dynamically but I'm guessing it should be quite easy to make that work for someone much better versed in Javascript than me.

Edit: I have a GitHub account these days (even if I don't know how most things there work), would you prefer things like this to be filed under Issues on there?

7 years ago*
Permalink

Comment has been collapsed.

Yes, it will be changed in the next upgrade, which is coming in about 2 weeks or so.

7 years ago
Permalink

Comment has been collapsed.

Great!

7 years ago
Permalink

Comment has been collapsed.

I've thought of another update that would be nice to have:

If you have text selected in the textarea it would be great if that would be put into the Title input box so you can quickly select text you've already typed and turn it into a link/image.

7 years ago
Permalink

Comment has been collapsed.

Nice idea. I'll definitely implement this.

7 years ago
Permalink

Comment has been collapsed.

Thanks!

7 years ago
Permalink

Comment has been collapsed.

It's done.

7 years ago
Permalink

Comment has been collapsed.

That's some fast work!

7 years ago
Permalink

Comment has been collapsed.

Hey guys! I just wanted to ask you how to use the (Disable reverse scrolling). In my case, it doesn't matter if it is activated or not I always get the older comments first. I'm I missing something? Thanks :)

7 years ago
Permalink

Comment has been collapsed.

There's an update coming in a few hours that will improve that feature. :)

7 years ago
Permalink

Comment has been collapsed.

Thanks! And BTW this script is awesome :)

7 years ago
Permalink

Comment has been collapsed.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 years ago.

7 years ago
Permalink

Comment has been collapsed.

I appreciate the thought, but I'd rather not open donations for this script. I'm no professional and the script is far from perfect. ^^

7 years ago
Permalink

Comment has been collapsed.

May 20, 2017 - v6.Beta.0.0

  • Created an icon for the script.
  • Separated all features into different files.
  • Fixed some typos in the README file (closes #94).
  • Created new icons for Header Icons Refresher and added support for SteamTrades.
  • Fixed a bug in Comment Tracker that was not marking some discussions as visited from the main page (closes #95).
  • The URL field for link and image in Comment Formatting Helper is now automatically focused upon opening and you can now select a part of the text to use as Title.
  • Fixed a bug in User Giveaways Data that was not updating the data correctly for users with ongoing giveaways (closes #68).

Renamed the following features:

  • Blacklist Stats Hider -> Hidden Blacklist Stats;
  • Featured Container Hider -> Hidden Featured Container;
  • Giveaway Description/Comment Box Popup -> Giveaway Description/Reply Box Popup;
  • Main Comment Box Popup -> Reply Box Popup;
  • Permanent User Notes -> User Notes;
  • Permanent User Tags -> User Tags;
  • Entered Games Highlighter -> Games Highlighter.

Upgraded the following features to v6:

  • Fixed Elements
    1. Separated the feature into individual features (Fixed Header, Fixed Sidebar, Fixed Main Page Heading and Fixed Footer).
    2. Fixed Main Page Heading works much more smoother, especially in small pages.
  • Visible Attached Images;
  • Accurate Timestamps
    1. Changed the timestamp format to match SteamGifts' format.
  • Endless Scrolling
    1. Fixed several bugs (closes #50) and made several improvements.
    2. Reverse scrolling now loads the last page first.
  • Hidden Featured Container
  • Active Discussions On Top
    1. The ad is no longer brought to the top.

Added the following features:

  • Header Button
  • Embedded Videos (partial solution to #89)
  • Pagination Navigation On Top
  • Reply Box On Top

Embedded Videos

steamgifts|steamtrades.com*

  • Embeds YouTube and Vimeo videos into the page.
  • Videos are only embedded if the links are in certain formats.

For example:

https://www.youtube.com/watch?v=cD1e0BNNifk
[Orange Sphincter To The Rescue](https://www.youtube.com/watch?v=cD1e0BNNifk)

The formats above get embedded:

https://www.youtube.com/watch?v=cD1e0BNNifk
Orange Sphincter To The Rescue

Watch this: [Orange Sphincter To The Rescue](https://www.youtube.com/watch?v=cD1e0BNNifk)
[Orange Sphincter To The Rescue](https://www.youtube.com/watch?v=cD1e0BNNifk) is hilarious.
I watched [Orange Sphincter To The Rescue](https://www.youtube.com/watch?v=cD1e0BNNifk) and it's hilarious.

The formats above do not get embedded:

Watch this: Orange Sphincter To The Rescue
Orange Sphincter To The Rescue is hilarious.
I watched Orange Sphincter To The Rescue and it's hilarious.

Pagination Navigation On Top

steamgifts|steamtrades.com*

  • Moves the pagination navigation to the top of the page.

Reply Box On Top

steamgifts|steamtrades.com*

  • Moves the reply box to the top of the page.
7 years ago*
Permalink

Comment has been collapsed.

Fixed a bug in User Giveaways Data that was not updating the data correctly for users with ongoing giveaways (closes #68).

thank you! i think it did fix it too (in response to github).

Added the following features:
Header Menu

what's this one mean?

7 years ago
Permalink

Comment has been collapsed.

I think I broke something, actually, because I tried to get your giveaways and only got about 400 and it stopped.

Oh it was supposed to be Header Button. It's the ESGST button in the header, it can now be disabled.

7 years ago
Permalink

Comment has been collapsed.

it seems to of gotten 4138 for me, and not that many marked received. so it's also including and assuming all my actives will be properly received too. (though in my case they will) unsure why it didn't get them all for you though.

and i see on the header button, okay. ^^


edit: oh, but it only retrieved 8x for your sent from my view.. no error either. so it's an issue with retrieving other peoples stats somehow.

7 years ago
Permalink

Comment has been collapsed.

I found the error. My logic for fixing bug #68 is flawed because it needs the code of the giveaway and private giveaways from other users don't provide a code, so I'll have to think of something else. It currently gets all giveaways until it finds a private giveaway and then it stops.

7 years ago
Permalink

Comment has been collapsed.

ahh yeah, that makes sense.

7 years ago
Permalink

Comment has been collapsed.

I hope it's fixed now, let me know when you run it again after some of your giveaways end.

By the way, this feature doesn't take received/not received into account, because for games with more copies I would need to request the giveaway page and multiple factors can influence this. I'm not exactly sure why the script returns 4138 when your profile says 4113. The difference is 25 though, and that's the number of giveaways per page. Might be that one page is being checked twice, I'll have to look into this.

7 years ago
Permalink

Comment has been collapsed.

hmm, well.. just woke up and scanned (without any ending) and it went thru all the pages, but it claims 4335 sent now for me. i have one ending in 22mins, i'll see if something ending changes that at all.

but it does show it accurately for you (exactly 338)

edit: i've only gifted 51copies of manhunter.. not 101, so it's counting that 50copy twice somehow. as well as some others.

View attached image.
7 years ago*
Permalink

Comment has been collapsed.

Weird, I'll wait until your next giveaway ends to see what happens here. The next update will have an option to clear the cache, so you can fix that error.

7 years ago
Permalink

Comment has been collapsed.

oops, i forgot to check after that, 2 more giveaways ended and now it's 4337. so nearest i can tell it's counting those properly, it's just double counting certain GAs for some reason.

7 years ago
Permalink

Comment has been collapsed.

Embeds YouTube and Vimeo videos into the page.

omg I can't believe this

7 years ago
Permalink

Comment has been collapsed.

It's quite limited for now though, only works if the link is in the specified format.

7 years ago
Permalink

Comment has been collapsed.

And which format? You might forget to use code in the example. I can see there just two same videos without the actual code.

7 years ago
Permalink

Comment has been collapsed.

all of them really now. it was only allowing non-titled raw urls prior, but now even accepts

[youtube title](http://youtube.com/example)

and seperates the title to go just above the embedded video


edit: i was mistaking though - it does not allow for the youtube link/video to be mid-sentence. it does have to be the first thing in its line.

7 years ago*
Permalink

Comment has been collapsed.

Ok, thanks. I hope we will get also a button for it.

7 years ago
Permalink

Comment has been collapsed.

to collapse the embedded video like images can collapse?

that's a good idea. +1

7 years ago
Permalink

Comment has been collapsed.

No, I meant the buttons above the textareas (like I, B, H1, H2...). But I think we can use the image button for it so it is not so needed.

7 years ago
Permalink

Comment has been collapsed.

ohh, i see. the format helper. ^^
i only have a few of those enabled, i mostly just use it for the auto image/link formatting option. xD

7 years ago
Permalink

Comment has been collapsed.

It's the exact same format as a link though.

7 years ago
Permalink

Comment has been collapsed.

It actually has to be the only thing in the line. None of these work:

someText video
video someText
someText video someText

7 years ago
Permalink

Comment has been collapsed.

okay, good to know. thanks.

7 years ago
Permalink

Comment has been collapsed.

I'm updating the formats, will specify better in the next update.

7 years ago
Permalink

Comment has been collapsed.

Updated the post. The link has to be the only text in the line.

7 years ago
Permalink

Comment has been collapsed.

I can't seem to load the script in my default browser but checked it out with another one and it looks amazing. Well done! :)

7 years ago
Permalink

Comment has been collapsed.

What's your default browser?

7 years ago
Permalink

Comment has been collapsed.

Vivaldi. Usually I am able to use Chrome extensions without a problem and I also could install Tampermonkey, but when I tried installing the script I got the message shown below (since it worked with Chrome at least I think it's the browser's fault ^^').

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Try loading it from here.

7 years ago
Permalink

Comment has been collapsed.

Isn't that the same URL as in the first post? At least I get the same error message... Oh, and if I wait long enough there's also a window popping up asking me to just download the file, but I'm not sure where to go from there. ô.o

7 years ago
Permalink

Comment has been collapsed.

This one is linked to "revilheart" instead of "rafaelgs18" (I've been going through username changes). You could download the file, open it, copy everything and paste it as a new script on Tampermonkey to see what happens.

7 years ago
Permalink

Comment has been collapsed.

Obviously I'm as blind as my avatar. This actually worked, I hadn't planned on that! Thank you very much. :)

7 years ago
Permalink

Comment has been collapsed.

hello, button on top, used as a config, vanished, can´t find it anywhere (last firefox)
and thx for great work

7 years ago
Permalink

Comment has been collapsed.

With v6.Beta.0.0? Is Header Button enabled under Other in the settings menu?

7 years ago
Permalink

Comment has been collapsed.

settings in settings menu wasnt visible at first, they popped only after few minutes, then i could turn it on, so now i can see the button

edit: just a question, it seems like accurate timestamps are default set to on even i have the box unchecked, is it intended?

7 years ago*
Permalink

Comment has been collapsed.

It's an error, I'll fix it in the next version.

7 years ago
Permalink

Comment has been collapsed.

thanks

7 years ago
Permalink

Comment has been collapsed.

Should be fixed now.

7 years ago
Permalink

Comment has been collapsed.

May 21, 2017 - v6.Beta.0.1

  • Fixed a bug in User Giveaways Data that was not returning complete results.
  • Fixed a bug that was running Accurate Timestamps even if it was disabled.
7 years ago
Permalink

Comment has been collapsed.

Some bugs that i had have disappeared with this version, but this is new:
"2 ESGST features failed to load: Discussions Highlighter, Comment Tracker. Check the console for more info"
and the EGST Button is not shown anymore

7 years ago
Permalink

Comment has been collapsed.

And what does the console show?

Enable the ESGST button under Other in the settings menu. A bug is causing its default value to be disabled.

7 years ago
Permalink

Comment has been collapsed.

Ah, button is back, after activating it in the settings :) thanks

TypeError: Comments[Key] is undefined
Stack trace:
highlightDHDiscussions@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/DiscussionsHighlighter.v5.js:28:1
getDHDiscussions@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/DiscussionsHighlighter.v5.js:12:5
loadDiscussionsHighlighter@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/DiscussionsHighlighter.v5.js:5:9
loadFeatures@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:984:21
loadEsgst@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:918:5
@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/ESGST.user.js:137:5
HelperFunctions.v6.0.1.js:992:21

TypeError: Comments[Key] is undefined
Stack trace:
checkCTVisited@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/CommentTracker.v5.js:44:21
loadCTVisited@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/CommentTracker.v5.js:13:5
loadCommentTracker@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/CommentTracker.v5.js:8:5
loadFeatures@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:984:21
loadEsgst@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:918:5
@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/ESGST.user.js:137:5
HelperFunctions.v6.0.1.js:992:21

(Cyberfox is a tuned 64bit clone of firefox)

7 years ago
Permalink

Comment has been collapsed.

Hmm, strange, after i made the last post, the ESGST Button disappeared again, the setting was set to disable again and stays like that. And i got one more:

"3 ESGST features failed to load: Discussions Highlighter, Main Post Popup, Comment Tracker. Check the console for more info"

Cnnsole: the two above and this is new:

TypeError: GM_getValue(...) is undefined
Stack trace:
loadMainPostPopup@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/MainPostPopup.v5.js:20:69
loadFeatures@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:984:21
loadEsgst@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:918:5
@file:///C:/Users/iladr/AppData/Roaming/8pecxstudios/Cyberfox/Profiles/qv0jccj7.Zap3/gm_scripts/ESGST/ESGST.user.js:137:5
HelperFunctions.v6.0.1.js:992:21

7 years ago
Permalink

Comment has been collapsed.

Does the error happen everywhere or only in certain pages?

7 years ago
Permalink

Comment has been collapsed.

The comment tracker one comes at all pages, the other two seem to appear only in the discussions area

7 years ago
Permalink

Comment has been collapsed.

I haven't been able to figure out why it's giving that error yet, since it should be impossible for those elements to be undefined. I'll have to look into this tomorrow, but it would be helpful if you could run the script on a different browser and see if the same errors happen. You can disable the 3 features to make the notification go away in the meantime.

7 years ago
Permalink

Comment has been collapsed.

I will try with another browser tomorrow, have to sleep now.
Deactivating didn't work unfortunately, the change of the settings were not saved when leaving the settings page, maybe the errors stop the settings page from working. But let me try with another browser first, although i can't imagine, that there is a difference, but better to be sure. I'll write again tomorrow/after sleeping. Have a nice sunday

7 years ago
Permalink

Comment has been collapsed.

Seems to work completely in Tampermonkey on Opera and Cyberfox, i assume it is a greasemonkey problem?.

7 years ago
Permalink

Comment has been collapsed.

Maybe. I wonder why it only affected those features though. You could try adding the following lines somewhere in the script and tell me if the output is undefined:

GM_getValue("Comments);
GM_getValue("Comments_ST);
7 years ago
Permalink

Comment has been collapsed.

Could you check if this is fixed in v6.Beta.3.2?

7 years ago
Permalink

Comment has been collapsed.

I had already uninstalled greasemonkey and switched to tampermonkey as that seems to run much better. But i did re-install it to test for you.

Unfortunately, greasemonkey on cyberfox is still throwing the same three bug messages at me with 6 beta 3.2, every time i load a discussion page and the comment tracker error on all other page.

Going back to tampermonkey

7 years ago
Permalink

Comment has been collapsed.

Not related, but I would start searching for another browser https://www.ghacks.net/2017/03/07/cyberfox-proclaims-death-of-web-browser/

7 years ago
Permalink

Comment has been collapsed.

By November all newer Firefox versions will be unusable.

7 years ago
Permalink

Comment has been collapsed.

D:
But.. but they are working on a WebExtension version of Greasemonkey, right? :S

7 years ago
Permalink

Comment has been collapsed.

Dunno, it will break all extensions. FF w/o those is useless. Chrome has annoying limits & other issues as well..
Don't know where I'll switch to, maybe PaleMoon if extensions work there..

7 years ago
Permalink

Comment has been collapsed.

Why is that?

7 years ago
Permalink

Comment has been collapsed.

just above ^^

it will break all extensions

7 years ago
Permalink

Comment has been collapsed.

https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/

By the end of 2017, and with the release of Firefox 57, we’ll move to WebExtensions exclusively, and will stop loading any other extension types on desktop. To help ensure any new extensions work beyond the end of 2017, AMO will stop accepting any new extensions for signing that are not WebExtensions in Firefox 53. Throughout the year we’ll expand the set of APIs available, add capabilities to Firefox that don’t yet exist in other browsers, and put more WebExtensions in front of users.

https://www.ghacks.net/2017/02/01/greasemonkey-dev-posts-webextensions-design-doc-paints-grim-picture/

7 years ago
Permalink

Comment has been collapsed.

By the way, https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/

Tampermonkey 4.3.5393 Compatible with Firefox 57+

7 years ago
Permalink

Comment has been collapsed.

I'm not familiar with WebExtensions, but this doesn't affect me personally. I can't stand Firefox, always been a Chrome boy. :P

7 years ago
Permalink

Comment has been collapsed.

uh... Is it just me that the "Embedded Videos" function not working?
ex:
https://www.steamgifts.com/discussion/utioz/a-new-steamgifts-tutorial-video-how-to-make-a-giveaway

7 years ago*
Permalink

Comment has been collapsed.

it only works if it's a raw visible url, not text titled over..

using that video i'll show you the good example and bad example. xD

bad example:
How to create a giveaway.

good example:

https://www.youtube.com/watch?v=BEcM6rRd2FU

edit: nevermind, idk how to get it to work for a good example either... but it's not supposed to work on the titled stuff, only raw links.
edit2: it requires an additional linebreak before and after the raw youtube link in order to be an attachment.

7 years ago*
Permalink

Comment has been collapsed.

So... Does it mean that the "Embedded Videos" doesn't work in both ways? 😥

Thank you for explanation anyway! 👊

7 years ago
Permalink

Comment has been collapsed.

there i got it too work.. it can't be close to anything also.

i had to add in an additional linebreak.
there is an additional linebreak between good example and the video like so:

bad example:  
[How to create a giveaway.](http://www.youtube.com/watch?v=BEcM6rRd2FU&feature=youtu.be)

good example:

https://www.youtube.com/watch?v=BEcM6rRd2FU

so it's extremely picky at its current state on how it functions.

7 years ago
Permalink

Comment has been collapsed.

Wow~~ Amazing! 😱

It does work! But, I can't see the difference. Maybe, I'll check later.

Interesting!

7 years ago
Permalink

Comment has been collapsed.

yeah it's really hard to tell the difference from the discussion view, but i'll try and show it to you in code view. xD

good example:

https://www.youtube.com/watch?v=BEcM6rRd2FU

VERSUS

bad example:
https://www.youtube.com/watch?v=BEcM6rRd2FU

notice the extra linereturn/linebreak between good example and the url that is not there in the bad example. xD

7 years ago
Permalink

Comment has been collapsed.

Did I miss something???

View attached image.
7 years ago
Permalink

Comment has been collapsed.

just the horribly circled blank returned-line. it needed a gap between the text and the url itself in order to function before.

i'm not sure if the new update released moments ago fixed that or not though.

View attached image.
7 years ago
Permalink

Comment has been collapsed.

It should work better now. Both examples should be embedded.

7 years ago
Permalink

Comment has been collapsed.

YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!!!!!

How can I not love you more!!!!!!
It works perfect for me now.

Thank you for the hard work and fast fixing.

7 years ago
Permalink

Comment has been collapsed.

I think the script should be adapted to support the new Two-Way Blacklists behavior. Specifically, the blacklist checker probably can't check the real status of user if they are blacklisted by the user who is running the script.

7 years ago
Permalink

Comment has been collapsed.

can't check the real status of user if they are blacklisted by the user who is running the script.

Can, except for WLs in these cases. Being BL'ed still shows first.
Script has a WL detection bug currently though.

7 years ago
Permalink

Comment has been collapsed.

Could you report the bug?

7 years ago
Permalink

Comment has been collapsed.

see below ^^

7 years ago
Permalink

Comment has been collapsed.

I had some issues with ESGST not working on https://www.steamgifts.com/giveaways/new , so I foolishly updated:

ESGST.user.js:150:5
Exception { message: "Component returned failure code: 0x…", result: 2147549183, name: "NS_ERROR_UNEXPECTED", filename: "chrome://greasemonkey-modules/conte…", lineNumber: 59, columnNumber: 0, data: null, stack: "GM_ScriptStorageFront.prototype.get…", location: XPCWrappedNative_NoHelper }

(Firefox 53)

filename:"chrome://greasemonkey-modules/content/storageFront.js"
lineNumber:59
message:"Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsISyncMessageSender.sendSyncMessage]"

stack:"GM_ScriptStorageFront.prototype.getValue@chrome://greasemonkey-modules/content/storageFront.js:59:15
hitch/<@chrome://greasemonkey-modules/content/util/hitch.js:27:12
checkSync@file:///C:/Users/MY-FIREFOX-PROFILE/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:1296:21
loadEsgst@file:///C:/Users/MY-FIREFOX-PROFILE/gm_scripts/ESGST/HelperFunctions.v6.0.1.js:19:9
@file:///C:/Users/MY-FIREFOX-PROFILE/gm_scripts/ESGST/ESGST.user.js:137:5
evalWithWrapper@chrome://greasemonkey-modules/content/sandbox.js:191:7
evalWithCatch@chrome://greasemonkey-modules/content/sandbox.js:215:7
runScriptInSandbox@chrome://greasemonkey-modules/content/sandbox.js:230:3
injectScripts@chrome://greasemonkey/content/framescript.js:119:5
runScripts@chrome://greasemonkey/content/framescript.js:149:3
contentLoad/<@chrome://greasemonkey/content/framescript.js:73:32
observe@chrome://greasemonkey-modules/content/util/timeout.js:17:7
waitForSyncCallback@resource://services-common/async.js:98:7
makeSpinningCallback/callback.wait@resource://services-common/async.js:168:27
promiseSpinningly@resource://services-common/async.js:234:12
get changedIDs@resource://services-sync/engines.js:98:5
addChangedID@resource://services-sync/engines.js:159:1
notifyEvent@chrome://greasemonkey-modules/content/sync.js:229:11
Config.prototype._notifyObservers@chrome://greasemonkey/content/config.js:47:5
Config.prototype._changed@chrome://greasemonkey/content/config.js:56:3
Script.prototype._changed@chrome://greasemonkey-modules/content/script.js:91:3
GM_ScriptStorageBack.prototype.setValue@chrome://greasemonkey-modules/content/storageBack.js:83:3
service.prototype.handleScriptValMsg@jar:file:///C:/Users/MY-FIREFOX-PROFILE/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D.xpi!/components/greasemonkey.js:243:12
GM_ScriptStorageFront.prototype.setValue@chrome://greasemonkey-modules/content/storageFront.js:52:3
hitch/<@chrome://greasemonkey-modules/content/util/hitch.js:27:12
init@file:///C:/Users/MY-FIREFOX-PROFILE/gm_scripts/Steam_Store_-_Game_Owned_Checker/Steam_Store_-_Game_Owned_Checker.user.js:89:13
onload@file:///C:/Users/MY-FIREFOX-PROFILE/gm_scripts/Steam_Store_-_Game_Owned_Checker/Steam_Store_-_Game_Owned_Checker.user.js:59:13
GM_xmlhttpRequester.prototype.setupRequestEvent/</<@chrome://greasemonkey-modules/content/xmlhttprequester.js:285:31
"

Weirdly this seems to be a conflict with a Royalgamer06 script, https://greasyfork.org/en/scripts/26273-steam-store-game-owned-checker/code - they're fighting over local storage access or so? No idea. For the time being I got it under control by having his script run at document-idle instead of document-start.

P.S.: The whitelist blacklist checker, why's that active on https://www.steamgifts.com/giveaways/new ?

7 years ago*
Permalink

Comment has been collapsed.

I've never heard of two different scripts fighting over local storage, each should have their own storage. I'll have to analyze this error closely. Greasemonkey only gives me headaches...

The heading features currently have no barriers, they work everywhere there is a heading. I'll work on limiting them later.

7 years ago
Permalink

Comment has been collapsed.

Upgraded to 6.Beta.0.1 found a bug when using endless-scroll on:
First giveaway page loses its custom url (like wl search) in the browser bar, makes the reload button not working correctly, it loads all GAs instead.
Url changes correctly when getting on the 2nd page.

Sadly downgrading doesn't work because required files are missing, maybe keep those in place until new versions is out of beta?
Why aren't you generally using the github releases function? That would alleviate this issue.

Also WL checker is bugged in both old & new ver. It now wrongly shows that everybody checked has wl'ed you.

7 years ago
Permalink

Comment has been collapsed.

I think you can install the old version from here and change "master" in the required files to "be7c6edffecbc835ccc45910e2d81dc248f9a01d". I'm not familiar with GitHub's releases function.

I'll be pushing an update to WB checker in a few minutes to see if it fixes that.

7 years ago
Permalink

Comment has been collapsed.

Neat ^^
Though the GA page url bug is more troublesome imo.

GitHub's releases function

It's essentially a state freeze to get a specific version. Like your link, just with friendlier url ;-)

Another small thing. Any way to force a wl recheck to clear wrong cases? Could be limited to a single user check.
As the new script structure unfortunately doesn't allow manual edits anymore.

7 years ago
Permalink

Comment has been collapsed.

The URL bug is fixed, let me know if the WB checker bug is fixed as well. And I added an option to clear the caches to WB checker (I had this option before, but had to remove it, although now I can't remember why).

Technically you can still manually edit the script. You just have to download the script from GitHub, save it somewhere in your computer, change the required files to the local files and reinstall the script from the local file. That's what I do to test the script.

For example, you would change

// @require https://github.com/revilheart/ESGST/raw/master/Scripts/HelperFunctions.v6.0.2.js

to

// @require file:///C:/path_to_the_script_folder/Scripts/HelperFunctions.v6.0.2.js

The only problem is you would have to update the script manually.

7 years ago
Permalink

Comment has been collapsed.

Way more of a pain though ^^

7 years ago
Permalink

Comment has been collapsed.

for the next update you mine as well add this new filter to your advanced search options. ^^

https://www.steamgifts.com/giveaways/search?dlc=true


i just realized my comment helper isn't functioning either.

7 years ago
Permalink

Comment has been collapsed.

Already added. ^^

7 years ago
Permalink

Comment has been collapsed.

comment format helper isn't working for me i just realized. i'm not seeing any unusual errors either. (only youtube & insecure image attachment errors)

7 years ago
Permalink

Comment has been collapsed.

Are you using Multi-Reply?

7 years ago
Permalink

Comment has been collapsed.

no i had it turned off to prevent some bug before, but enabling it fixed the issue entirely.. i can turn it on or off again and either one now allows for the comment helper. ^^

thanks

7 years ago
Permalink

Comment has been collapsed.

Yeah, the default reply box is not showing the helper for me either, I'll fix it in the next version.

7 years ago
Permalink

Comment has been collapsed.

oh okay, i see that too now. ^^

sounds good, thanks again.

7 years ago
Permalink

Comment has been collapsed.

May 21, 2017 v6.Beta.0.2

  • Fixed a bug in Embedded Videos and added more link formats.
  • Fixed a bug in Endless Scrolling that was removing filters from the URL.
  • Added support for the new DLC filter to Advanced Giveaway Search.
  • Fixed a bug in Comment Formatting Helper that was not adding the helper to all text areas of the page.
  • Added endless scrolling support and an option to clear the cache to User Giveaways Data.
  • Fixed some bugs in Whitelist / Blacklist Checker, added support for the Two-Way Blacklists update and an option to clear the caches.
7 years ago
Permalink

Comment has been collapsed.

this seems to of fixed giveaway stats for me, after clearing cache and scanning again it's showing 4140 which appears to be accurate with ended and currently running. ^^

thank you!

7 years ago
Permalink

Comment has been collapsed.

The script shouldn't take into account currently running giveaways though. :S

7 years ago
Permalink

Comment has been collapsed.

well.. i'm not sure why it's off actually.

counting the 4118 received, +16 active running, +3 waiting feedback, it only adds upto 4137 of the 4140 that is appearing.

so i'm not sure where those extra numbers are coming from.

edit: it might possibly be counting deleted GAs too, since they are visible to me? idk.

7 years ago
Permalink

Comment has been collapsed.

superb :3

7 years ago
Permalink

Comment has been collapsed.

Just tried on Firefox and Chrome. WL/BL feature still doesn't work correctly for me on either (false positives and false negatives). :(

7 years ago
Permalink

Comment has been collapsed.

Have you tried selecting the option to clear the caches?

7 years ago
Permalink

Comment has been collapsed.

Yep, it still misses the vast majority of people that I know have me on their WL (go into a WL-only giveaway, still says there isn't enough info to tell if they've whitelisted me...).

7 years ago
Permalink

Comment has been collapsed.

Well, I don't know what's causing this then. Clearing the cache should have reset the users. I'll try to find something I might have missed. Is this a fresh install of the script?

7 years ago*
Permalink

Comment has been collapsed.

Well I just uninstalled and re-installed it, then enabled all options on the whitelist checker, and now it's working better. Still misses some users for no apparent reason, but at least I'm not getting false positives/negatives anymore (for instance, it can't detect the whitelist giveaways of this user).

7 years ago*
Permalink

Comment has been collapsed.

Nope, the checker is supposed to look for all giveaways of an user, no matter how old. Do you have "Also check whitelist." enabled? Because if not, it only checks if you're blacklisted by that user.

I don't really like the idea of allowing users to manually add the blue checks. Why not use user tags to indicate that?

7 years ago
Permalink

Comment has been collapsed.

Yep, I have all options enabled. The time issue is one I've seen a few times going back as long as I've been using the script (since before it was renamed). I edited my post above around the same time you replied, but this user is an example where for me it just completely fails (gets up to the second page of their giveaways and then stops reading further, saying their isn't enough info). It also fails for me on the third page of this users group giveaways.

7 years ago*
Permalink

Comment has been collapsed.

I tested the first user and it should stop at the second page, because there is a whitelist giveaway there and that's all the script needs. Are you sure other "issues" were not just that - the script finding a whitelist giveaway and stopping because there's no point continuing? If it's returning not enough info, try clearing that user's cache.

7 years ago
Permalink

Comment has been collapsed.

Yes, it should stop and say I'm whitelisted (because I am), instead it stops at the whitelist giveaway and says there's not enough information. And I do have "clear caches" option enabled.

7 years ago
Permalink

Comment has been collapsed.

option to clear the caches.

does that also remove pointers to wl ga's for all users?

I only want to recheck 2 wrong detections, not clear all useful data :-/
e: just saw on single user check, tooltip still says 'all' but is it per user there?

7 years ago*
Permalink

Comment has been collapsed.

If enabled, the caches of all checked users will be cleared (slower).

Only the users that are being checked while the option is selected.

But it does delete the whitelist giveaway pointer for those users, I should change that.

7 years ago
Permalink

Comment has been collapsed.

Works now fine, thanks ^^

7 years ago
Permalink

Comment has been collapsed.

Glad to know that. ^^

7 years ago
Permalink

Comment has been collapsed.

Bump for the hard work you did.
And thank you for providing it.

7 years ago
Permalink

Comment has been collapsed.

endless scrolling bug, when a new page has only 1 comment it keeps loading that as next pages constantly
try here
https://www.steamgifts.com/discussion/Zrd8C/hrk-sale-bargain-sale-lords-of-the-fallen-deluxe-2-gauntlet-slayer-ed-2-minecraft-w10-25

7 years ago
Permalink

Comment has been collapsed.

It works fine for me. :S

Edit: Oh wait, I have reverse scrolling enabled. Yeah, I see it now.

7 years ago
Permalink

Comment has been collapsed.

also Loading next page... doesn't recognize the end and keeps showing on user ga pages

7 years ago
Permalink

Comment has been collapsed.

Fixed

7 years ago
Permalink

Comment has been collapsed.

noice ^^

7 years ago
Permalink

Comment has been collapsed.

Awesome changes, thanks!
after update, some options were changes (was surprised when header icon disappeared)
got error as in attached img (using latest ver up to date)

and maybe dumb question, when reverse endless scrolling is on, is there easy way to post reply from under maian post, or I have to pause and scroll down?

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Yeah, I forgot to enable the header button by default with v6. In what page do you get that error?

Either that, or enable Reply Box On Top or Reply Box Popup. Those features allow you to reply to the main post easily with Endless Scrolling.

7 years ago
Permalink

Comment has been collapsed.

RBOT- yeah, thanks!
error is in Messages page

also side note/possible feature - as imgur changed most of their gifs to mp4 format, is it possible to change auto image function for imgur and mp4 to work as with gif?
(to be more precise - if I paste imgur.com/abc.gif I get![](imgur.com/abc.gif), when mp4, got[](imgur.com/abc.mp4)
what I do now, I manually change the extension, and works, maybe a way to automate things for imgur? :P

7 years ago
Permalink

Comment has been collapsed.

Are there any unusual attached images in the messages page?

Yep, I'll look into it. :)

7 years ago
Permalink

Comment has been collapsed.

define unusual :)
I have endless scrolling enabled there

7 years ago
Permalink

Comment has been collapsed.

got it! one of comments by MSKotor is causing this
here

7 years ago
Permalink

Comment has been collapsed.

How did he even manage to attach an image that has no image? o.O

7 years ago
Permalink

Comment has been collapsed.


magic :D (and she hahah)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

just by adding the ! before any url will do it.

you can even leave it entirely blank with

![]()
7 years ago
Permalink

Comment has been collapsed.

I did that and the comment didn't get formatted as an attached image for me. Testing...

![]()

See, it doesn't format for me.

7 years ago
Permalink

Comment has been collapsed.

oh yeah, it does need something inside of it.

![](.)
View attached image.
7 years ago
Permalink

Comment has been collapsed.

Yes, but that's not equal to what MSKOTOR did here.

7 years ago*
Permalink

Comment has been collapsed.

i should of refreshed before that last reply. but reply to this is pretty much below. ^^

7 years ago
Permalink

Comment has been collapsed.

technically to auto-fix all the imgur gifv's it would be really simple.
just take all *.imgur.com/*.gifv and change them to *.imgur.com/*.gif

it would take the http://i.imgur.com/nednUz3.gifv (unattachable) url out and replace it with http://i.imgur.com/nednUz3.gif (attachable)

7 years ago
Permalink

Comment has been collapsed.

That's not really what's causing that single unattached comment though, is it? That GIF seems to be attached in the giveaway description, not in the comment linked.

7 years ago
Permalink

Comment has been collapsed.

ohh, i see now which one you are talking about and finally figured it out. ^^

![](http://)

i still would love a gifv fix of some sort though if it's not too difficult. xD
(either change em out for gif or fix the attachment to play properly)

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Did the trick for .gifv.

7 years ago
Permalink

Comment has been collapsed.

ty much! =)
i see quite a few of those that go unfixed, i'd prefer to just see it work rather then the broken image link that i have to open in a new window.

7 years ago
Permalink

Comment has been collapsed.

that actually is something i'd love to have properly attached though. it's the gifv pictures that won't attach properly for some reason, if you could enable those to properly attach, that would be awesome.

though really that's something cg should fix natively since gifv is faster and uses less bandwidth then gif.

7 years ago
Permalink

Comment has been collapsed.

oh, and it says it is failing to load, but acutally works (the error in msg)

7 years ago
Permalink

Comment has been collapsed.

May 21, 2017 - v6.Beta.0.3

  • Fixed a bug in Endless Scrolling that was not stopping at the last page and continuously loading it.
7 years ago
Permalink

Comment has been collapsed.

ES still is not working for me together with SteamGifts v2 Giveaway Filter. It worked until the first beta but now after I scroll up to the page 2 the last part of url starts to blink and I cannot scroll anymore. It works normally on the forum - this problems occurs on the main page of SG.

7 years ago
Permalink

Comment has been collapsed.

+1

similar here. for me the filter portion is still working, but it completely kills my mouse wheel scrolling and i have to manually grab the slider bar to scroll up or down.

7 years ago
Permalink

Comment has been collapsed.

Did we lose the jump button to last comment page ?

7 years ago
Permalink

Comment has been collapsed.

What button?

7 years ago
Permalink

Comment has been collapsed.

On each discussion on the bar with the number of comments and shortcut button to put a commet, on the left there was a shortcut to jump to last page of comments, it's not there anymore.

7 years ago
Permalink

Comment has been collapsed.

I don't know what you mean by "last page of comments". Do you mean the last page of the thread? The "Last" link is still there. Maybe you're loading the first page of a discussion and you have reverse scrolling enabled? Because if so, the script will load the last page first and there will be no "Last" link obviously.

7 years ago
Permalink

Comment has been collapsed.

I see this

View attached image.
7 years ago
Permalink

Comment has been collapsed.

What am I looking at? Sorry, I'm extremely confused.

7 years ago
Permalink

Comment has been collapsed.

they mean "go to first unread comment / go to last unread comment" is missing (i think)
no idea why though, as it works fine for me.

7 years ago
Permalink

Comment has been collapsed.

Are you talking about Comment Tracker? Have you checked the settings menu? Maybe the feature was mistakenly disabled upon updating.

7 years ago
Permalink

Comment has been collapsed.

Well, this is the bar separating the main post from the comments, and before the update, on the far right there were the links to click "next" page or "last" page directly, rather than having to scroll down to the bottom of the first page of comments before being able to click on "last" page.
I hope it's clearer.
I checked the settings, I don't see anything related to that.

7 years ago
Permalink

Comment has been collapsed.

Settings related to that are Endless Scrolling or Pagination Navigation On Top.

7 years ago
Permalink

Comment has been collapsed.

hhaaaaa thanks !
Pagination navigation on top !
I don't know why it became unticked with the update !
Thanks a lot for having takent the time to find the answer ! :)

7 years ago
Permalink

Comment has been collapsed.

It's a new feature (sort of). It was previously a part of Endless Scrolling.

7 years ago
Permalink

Comment has been collapsed.

thanks for that too btw! =)
i love pagination on top without endless scrolling.

7 years ago
Permalink

Comment has been collapsed.

Ok, that explains why then :)

7 years ago
Permalink

Comment has been collapsed.

giveaway template load throws an error

(unknown) Uncaught ReferenceError: formatDate is not defined
    at HTMLSpanElement.eval (eval at E_c (:1:1), <anonymous>:4368:18)
7 years ago
Permalink

Comment has been collapsed.

Oh looks like I vanished with that function. You can add it manually at the end of the script until I fix it in the next version.

function formatDate(EntryDate) {
    var Months, Hours, Minutes, OutputDate, Suffix;
    Months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
    Hours = EntryDate.getHours();
    Minutes = EntryDate.getMinutes();
    Minutes = (Minutes > 9) ? Minutes : ("0" + Minutes);
    OutputDate = Months[EntryDate.getMonth()] + " " + EntryDate.getDate() + ", " + EntryDate.getFullYear() + " ";
    if (Hours >= 12) {
        if (Hours > 12) {
            Hours -= 12;
        }
        Suffix = "pm";
    } else {
        if (Hours === 0) {
            Hours = 12;
        }
        Suffix = "am";
    }
    OutputDate += Hours + ":" + Minutes + " " + Suffix;
    return OutputDate;
}
7 years ago
Permalink

Comment has been collapsed.

thanks, that does fix it. ^^

7 years ago
Permalink

Comment has been collapsed.

Hmm forgot to add it once again in the new version. I'll do it on the next. xD

7 years ago
Permalink

Comment has been collapsed.

hehe, np. sounds good. ^^

7 years ago
Permalink

Comment has been collapsed.

Getting this error on main pages of steamgifts and steamtrades

TypeError: document.getElementsByClassName(...)[0] is undefined  
Stack trace:  
loadEsgst@file:///xxx/gm_scripts/ESGST/HelperFunctions.v6.0.2.js:129:23  
@file:///xxx/gm_scripts/ESGST/ESGST.user.js:137:5  
7 years ago
Permalink

Comment has been collapsed.

I don't see how that is possible, since that's the logout button and it's present in all pages. What browser are you using? I'll add a check in the next version anyway.

7 years ago
Permalink

Comment has been collapsed.

Firefox 54.0. Previous versions of script worked pretty cool

7 years ago
Permalink

Comment has been collapsed.

logout button and it's present in all pages

not when logged out ;-)

7 years ago
Permalink

Comment has been collapsed.

The script is mostly useless when logged out.

7 years ago
Permalink

Comment has been collapsed.

lol

View attached image.
7 years ago
Permalink

Comment has been collapsed.

May 21, 2017 - v6.Beta.0.4

  • Fixed a bug that happened when trying to retrieve the xsrf_token from the page.
  • Fixed a bug that was mixing the script's popups with SteamTrades' popups (closes #72).
  • The popups are now repositioned upon clicking on them (closes #83).
  • Changed the max width of popups to 75% (it was previously not set, which was making some popups have a 100% width).
  • Fixed a bug on SteamTrades that happened when going to the permalink of a comment.
  • Fixed a bug in Visible Attached Images and added support for images in the format .gifv.
  • Fixed a bug in Embedded Videos.
  • Added endless scrolling support to Giveaway Description/Reply Box Popup.
  • Added the option to only send gifts to users who are still members of at least one of the groups for group giveaways in Unsent Gifts Sender and added endless scrolling support for it (closes #90).
  • Fixed a bug on SteamTrades that was enabling Discussion Edit Detector in the user pages.
  • Fixed a bug in Comment Formatting Helper that was not enabling endless scrolling support for it.
  • Fixed a bug in Reply Box On Top for the user pages on SteamTrades.
7 years ago
Permalink

Comment has been collapsed.

Don't know if you use 'SteamGifts: Open in pop-in'
https://greasyfork.org/en/scripts/8064-steamgifts-open-in-pop-in
https://www.steamgifts.com/discussion/OX63y/scripts-open-in-pop-in-and-look-for-similar

When opening a page that way, endless scrolling kicks in and keeps loading pages.

I used an old version of the script before but that stopped working correctly with ga pages with esgst v6, so I updated and noticed that issue.

7 years ago
Permalink

Comment has been collapsed.

The issue began when you updated the other script? Then maybe you should be posting to the script's creator? I don't use it, but I can test it later.

7 years ago
Permalink

Comment has been collapsed.

I didn't notice when exactly, quickly updated both.
The endless scrolling though is executed by esgst, so I thought to report here first. ;-)
All the other script does is open links as a popup in a slightly smaller window. I think size or positioning triggers the page load somehow.

It's really useful otherwise, maybe you want to include that feature too ^^

7 years ago
Permalink

Comment has been collapsed.

My instance of the script has stopped working outright, from the moment I had updated it.

7 years ago
Permalink

Comment has been collapsed.

Try downgrading, loading a SteamGifts page and updating again. There was a small bug when I pushed v6.Beta.0.4 and I quickly fixed it without changing the version, hoping no one had already installed it.

7 years ago
Permalink

Comment has been collapsed.

Even downgrading to that version brings up an ESGST has failed to load.

7 years ago
Permalink

Comment has been collapsed.

Can you post the error in the console?

7 years ago
Permalink

Comment has been collapsed.

prebid.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/HelperFunctions.v6.0.2.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/General/VisibleAttachedImages.v6.0.0.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/General/EmbeddedVideos.v6.1.0.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/Giveaways/GiveawayPanel.v5.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/Giveaways/UnsentGiftsSender.v5.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/Commenting/CommentFormattingHelper.v5.0.1.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
(unknown) Tampermonkey: couldn't load @require from URL https://github.com/revilheart/ESGST/raw/master/Scripts/Features/Commenting/ReplyBoxOnTop.v6.0.0.js
tms_4ea7d302_35e9_466c_89ad_0ac605d25aff
VM73:6145 ReferenceError: loadEsgst is not defined
at Window.tms_4ea7d302_35e9_466c_89ad_0ac605d25aff (eval at E_c (:3:221), <anonymous>:6132:5)
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>:6149:6)
at <anonymous>:2:398
at Object.E_c (<anonymous>:3:219)
at F (eval at exec_fn (:1:108), <anonymous>:60:467)
at Object.create (eval at exec_fn (:1:108), <anonymous>:69:51)
at t (eval at exec_fn (:1:108), <anonymous>:17:238)

7 years ago
Permalink

Comment has been collapsed.

What happens if you try updating now?

7 years ago
Permalink

Comment has been collapsed.

Seems updating has worked now. I must of got hit by that silent update.

7 years ago
Permalink

Comment has been collapsed.

Yeah, sorry about that.

7 years ago
Permalink

Comment has been collapsed.

As of version 6 endless scrolling with stylish is very janky due to stylish loading styles several times during scrolling. Correct me if i'm wrong but i am assuming endless scrolling is now tied to the root of the document where it was not previously, and stylish listens for changes on the root and applies styles if any are detected.

7 years ago
Permalink

Comment has been collapsed.

Not sure what you mean by tied to the root, but it has indeed been changed. Now each content is appended as a whole to the page instead of only its children. For example, this was the old way:

<div class="content">
    <div class="oldElement></div>
    <div class="oldElement></div>
    <div class="oldElement></div>
    <div class="newElement></div>
    <div class="newElement></div>
</div>

This is the new way:

<div class="content">
    <div class="oldElement></div>
    <div class="oldElement></div>
    <div class="oldElement></div>
</div>
<div class="content">
    <div class="newElement></div>
    <div class="newElement></div>
</div>

Do you think there's something I could do to preserve the new way while making it compatible with stylish?

7 years ago
Permalink

Comment has been collapsed.

I think i got it backwards, it was stylish triggering the change on the root not ESGST. I'm not sure if appending the content has anything to do with it as it still happens after the content has been added like scrolling up for example. I do however see the style gets added anytime there is activity on <div class="pagination__navigation page_heading_btn">. I was hoping you would know what the differences are between 5 and 6 cause i have not found what is causing it yet.

7 years ago
Permalink

Comment has been collapsed.

The script now replaces the URL using history.replaceState. I'm pretty sure that's it. It works as if a new page has been loaded, only it doesn't refresh the page.

7 years ago
Permalink

Comment has been collapsed.

Hmmm i'm betting that is what is causing permalinks to jump to the wrong location when using stylish as well.

7 years ago
Permalink

Comment has been collapsed.

I'm guessing there's no way around it?

7 years ago
Permalink

Comment has been collapsed.

¯\(ツ)/¯ you would know better than me, i would guess there would be another way to add those urls without triggering stylish's event listener we just have to find it ;)

7 years ago
Permalink

Comment has been collapsed.

I guess I could try to see if I can prevent the event from firing. I'm looking into it.

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.