SG Train Navigation Assistant is a lightweight userscript which loads quickly, and allows easy manoeuvrability through trains on SteamGifts!

Some backstory as well as the train can be found at the bottom of this post.


Installation

Follow this link and click 'Install this script': SG Train Navigation Assistant (Greasyfork)

If you've never installed a userscript before and need some help, follow these instructions: How to install user scripts (Greasyfork)


Usage

To use this userscript, simply use your arrow keys when in a train, the current available controls are as follows:

  • Left Arrow (←) - Go to the previous train cart
  • Right Arrow (→) - Go to the next train cart
  • Up Arrow (↑) - Open/ Close game screenshots

Note: When writing a comment or changing the description (i.e. when your cursor is active inside a textbox) the shortcut keys will not work.


Issues?

  • If the script doesn’t work, ensure:
    • Tampermonkey is enabled in your browser.
    • The script is active and running when on a giveaway page (such as this).
  • Check the console for errors (Press F12 → Console tab).

Feel free to post any issues in the comments below. As this is my first 'official' public userscript release, please do bear with me if there are any issues.
If there are any other 'Forward' or 'Backward' keywords, please feel free to pop them in this thread also, and I can add them to the script.


So where is the promised sample train?!?!?

Alright, alright, here is the link to the train (Just RemoveThis_ :P). Please feel free to test it out and let me know if you find any issues. I've tried to mix up some of the wagon terminology to really put it to the test.

For some backstory, I made this userscript since my primary method of interaction with Steamgifts is through a trackpad. As such, when there is a large community train, I quickly lose motivation to click through each link.

This poses a problem, especially when I want to contribute, as I need to be able to get to the last cart in the train to add my contribution.

So, through my own laziness, and determination to contribute, I decided to make a small userscript to automatically identify the previous/ next links in the cart, and then allow for keyboard shortcuts to be used to navigate through.

After making a v1 (read as: v0.001) I quickly found that it was a pain to switch between arrow keys and mouse when I wanted to check the screenshots for a game, so I added a shortcut for bringing those up too!

Initially I did consider just using ESGST/ seeing if I could add this to the extension, however it is a fairly heavy plugin, and on the device I use (very old chromebook) takes a while to load, and also loads quite late. This means it takes me several seconds before I can use the hotkeys. My goal with making this a separate userscript was to allow it to load very quickly, and be very lightweight as well (which, from my testing I seem to have achieved!).

At the current stage, I have some other QoL ideas that I may look at adding in the future, such as tracking the cart number to deal with pesky derailments. But currently I think this is at a solid enough stage to maybe (hopefully?) be useful to some.

Thanks for reading!

tldr; I hope this helps people navigate trains.

1 week ago*

Comment has been collapsed.

Changelog

1 week ago*
Permalink

Comment has been collapsed.

Update 2025-04-28: Added some more keywords for the train as per this comment

1 day ago
Permalink

Comment has been collapsed.

Update 2025-04-30: Fixed the automatic number identification for numbered carts to also take into account h1 or h2 formatted numbers. Thanks to Mhol1071 for catching this issue!

8 hours ago
Permalink

Comment has been collapsed.

Happy 🎂 day! 🥳

1 week ago
Permalink

Comment has been collapsed.

Thank you!

1 week ago
Permalink

Comment has been collapsed.

Happy cake! <3

1 week ago
Permalink

Comment has been collapsed.

Thanks LaVolpe! <3

1 week ago
Permalink

Comment has been collapsed.

Thank You for the train!

1 week ago
Permalink

Comment has been collapsed.

Thank you for the feedback! Best of luck in the giveaways!

1 week ago
Permalink

Comment has been collapsed.

Happy cakeday and thank you for the train!

1 week ago
Permalink

Comment has been collapsed.

Thanks Ellendyl!

Best of luck in the giveaways!

1 week ago
Permalink

Comment has been collapsed.

Happy cake-factory day!

1 week ago
Permalink

Comment has been collapsed.

Thanks LittleBibo!

Looks like the factory is now gone :P

1 week ago
Permalink

Comment has been collapsed.

Bump! Works flawlesly, happy cakeday!

1 week ago
Permalink

Comment has been collapsed.

Great to hear! Thanks Kyog!

1 week ago
Permalink

Comment has been collapsed.

Thanks for the useful script and train, works fine!
Happy cake day to you! :)

1 week ago
Permalink

Comment has been collapsed.

Thank you Ottah!

1 week ago
Permalink

Comment has been collapsed.

Ah so the benefit of this over ESGST is that its lightweight and quick!
Thanks and happy Cake day!

Edit: turns out its better than ESGST 'next' shortcut

1 week ago*
Permalink

Comment has been collapsed.

The lightweight aspect was my main priority.

I initially tried getting ESGST to work for me, but I'm not sure if it is my device or the extension. It does take a while for it to load for me.
(I also believe ESGST is set to load a little late so that the rest of the page is done).

Just wondering what you mean by it being better than the ESGST shortcut?

Thanks for the feedback CultofPersonalitea!

1 week ago
Permalink

Comment has been collapsed.

the next for ESGST often doesn't recognise the tricky "next" buttons, GA extractor had similar issues.
Your tool was useful in such cases.

1 week ago
Permalink

Comment has been collapsed.

Great to hear! Thanks again

1 week ago
Permalink

Comment has been collapsed.

Does ESGST still work for you? Mine says the extension is no longer supported.

1 week ago
Permalink

Comment has been collapsed.

I think its cz ur either a userscript or a chrome user. It works effortlessly with firefox.

1 week ago
Permalink

Comment has been collapsed.

Guilty! I do still use chrome. Thanks for the explanation! I will re-evaluate my browser choice!

1 week ago
Permalink

Comment has been collapsed.

Happy Cake Day, and thank you for the extremely long train! I tried your userscript on Firefox and it worked just fine. I can definitely see its appeal when dealing with such long trains. Appreciate your effort in making SG users' lives easier! :)

1 week ago
Permalink

Comment has been collapsed.

Thanks Cluelesson!

Glad you can find usefulness from it!

And yeah I mayhavegone a little off the rails with the length. I was going through my key stockpile and it turned out a little bit longer than expected... But, I think it was a good way to show off the different types of cart numbering systems an link formats!

1 week ago
Permalink

Comment has been collapsed.

Happy cakeday and thanks for the ride! :)

1 week ago
Permalink

Comment has been collapsed.

Thank you s4k1s!

1 week ago
Permalink

Comment has been collapsed.

Happy 🎂day 🎉

1 week ago
Permalink

Comment has been collapsed.

Thank you Naviis!

1 week ago
Permalink

Comment has been collapsed.

happy Cakeday :)

1 week ago
Permalink

Comment has been collapsed.

Thanks Tucs!

1 week ago
Permalink

Comment has been collapsed.

It works well even with tricky formats, like #31, great job!

1 week ago
Permalink

Comment has been collapsed.

Great to hear it works (phew). Thanks mhetralla!

1 week ago
Permalink

Comment has been collapsed.

Happy 🎂day!

1 week ago
Permalink

Comment has been collapsed.

Thank you Shurra!

1 week ago
Permalink

Comment has been collapsed.

bump

1 week ago
Permalink

Comment has been collapsed.

thanks for train, I just use ESGST(I noticed you said its slow... maybe you just need to disable some parts of it as some parts are alot more CPU demanding than others), so didn't install your script.

1 week ago
Permalink

Comment has been collapsed.

All good, best of luck with the giveaways!

If it works no need to fix it.

I'm unsure if it is a me problem specifically, but I have very minimal features enabled on ESGST, more like just 'Vanilla plus', and it just takes considerable time to load. Albeit I do use a very old chromebook (Acer C720, manufacture date 2013) as my primary browsing method. So I think a light sneeze on a more modern device is enough to bring this one to its limits...

1 week ago
Permalink

Comment has been collapsed.

Input rationale for bumping discussion:
[ ]User is celebrating their cake day.
[ ]User has provided a giveaway train.
[ ]User has created a useful tool for the community.
[✔️]All of the above.

1 week ago*
Permalink

Comment has been collapsed.

<3

1 week ago
Permalink

Comment has been collapsed.

Happy cakeday!

1 week ago
Permalink

Comment has been collapsed.

Thank you Damianea!

1 week ago
Permalink

Comment has been collapsed.

Happy cakeday, Alpha2749! 💙🎂💙
Thank you for all your effort and the impressive train!

1 week ago
Permalink

Comment has been collapsed.

Thanks schmoan!

I think I did go a little off the rails with the train.
I went through and did a purge of my key stockpiles completely though so that is nice!
Plus, I think a train of this size helps demonstrate the tool a little :P

Best of luck with the giveaways!

1 week ago
Permalink

Comment has been collapsed.

Happy cakeday!

1 week ago
Permalink

Comment has been collapsed.

Thanks you!

1 week ago
Permalink

Comment has been collapsed.

happy cakeday! 🎂 thank for the train and script! :)

1 week ago
Permalink

Comment has been collapsed.

Thank you Vigaristti, glad you enjoyed it!

1 week ago
Permalink

Comment has been collapsed.

Hi, thank you very much for the amazing train! :)

I like your script 👍 (Laziness is the mother of invention 😉), but this method is not without flaws in a case of traveling through community trains. But in most of the cases, script works perfectly! :)

If you want to go deeper, you can start from here, for example, and try to get through the next few dozen carts of the last community train. You will see some cases, where script doesn't work. (The terminal case, for example 😂).
P.S. Community train stats with all links always there, free to download, if this can be of help

1 week ago*
Permalink

Comment has been collapsed.

Hey jm, Thanks for the feedback!

I actually went through one of the community trains for a couple hundred carts with this to find and catch any pesky little bugs. I must have not gone through this one though...

As for those issues, I've fixed this section here (you will just need to click on the greasyfork link and click 'reinstall script', or 'update script').

The terminal case may in fact be terminal though... I'll have to have a think about this one to see if I can do anything to fix that. Although it is the classic contradiction case, as the 'back' link contains both a 'back' and a 'forward' keyword... So thank you for bringing this up, it is definitely an interesting little puzzle...

I will definitely check out the community train stats, and thank you for those as well! <3

1 week ago
Permalink

Comment has been collapsed.

Godsend script!

FYI, just plain links not setup? Unable to find next cart with this one
https://www.steamgifts.com/giveaway/9oyGb/ball-fall

1 week ago
Permalink

Comment has been collapsed.

Thank you!

No actually, plan links are not set up...
Since most trains use the 'hyperlink'/ URL format:
[Next](URL)
The script is looking for those 'hyperlinks', and looking at the link text.

Interestingly I went through large portions of the community train when testing and never came across this issue.

This would need some extra work, as the difficulty is the formatting could likely vary a lot. But it looks like it wouldn't be too bad to implement this specific case, and then see if any other cases pop-up.

I'll take a look when I get a chance. Thank you for highlighting this!

1 week ago
Permalink

Comment has been collapsed.

Wow, that's some neverending "sample" train! 😯
Thanks and happy cakeday! 🎉

1 week ago
Permalink

Comment has been collapsed.

Yeah one could say it went a little bit off the rails...

Thank you Noodles, and best of luck with the giveaways!

1 week ago
Permalink

Comment has been collapsed.

bumped!

1 week ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.