That is pretty cool! What I normally do is to hide the game if I don't like it. In this case, you could also make a small change to the script to turn the thumbs down button on when the game is hidden (that is, when the .featured__giveaway__hide
element isn't present) and maybe turn background into purple to differentiate from an actual thumbs down. I'll use your script and do it like that! thanks!
Comment has been collapsed.
I'm only seeing the thumbs icons on giveaways. Or maybe I'm confused by what you mean by profile. I checked my page, yours and a couple of other and didn't see the thumbs icons there. Although I'm using other scripts, so maybe that's preventing them to show up?
Comment has been collapsed.
My mistake.
Just change the line 7 to be active only on giveaway pages.
// @match https://www.steamgifts.com/giveaway/*
Comment has been collapsed.
hmm but that is the button colour, not the background.
The background for the ignored items look like this:
https://imgur.com/a/CbjfJpr
Comment has been collapsed.
I think enhanced sg has that.... but I am not 100% sure.
https://www.steamgifts.com/discussion/TDyzv/extension-userscript-enhanced-steamgifts-steamtrades-esgst-v894
Comment has been collapsed.
Maybe you can use https://github.com/revadike/steamwebintegration for that. It shows small icons next to any links to store.steampowered to show whether you have the game wishlisted, followed, ignored or other information.
Comment has been collapsed.
I really leant into the game tags feature of ESGST to do something similar. I tried to keep it simple with 5 ratings:
1 - Want
2 - Yes
3 - OK
4 - I guess
5 - At a push
But then I couldn't resist overcomplicting things and started adding keyword tags such as "1st person" to help me remember what a game is about. I don't find the tags pulled over from Steam useful except for to flag VR games I might want to avoid.
I think maybe what I'm saying is I appreciate the simplicity of your solution.
Comment has been collapsed.
except for to flag VR games I might want to avoid.
I feel you there. Feel like that's one of the major things I'm always trying to check on games before I give them the ok. Usually I add most of the stuff that passes that to my WL and ones that fail that or have other issues to my ignore list. But definitely have worried before about entering a GA for something without realizing it was VR only. I guess if you caught on BEFORE activating the key (and I do try to double check), then you might be able to just request a reroll but still.
Honestly, I wouldn't mind if CG decided to add a per-user option for excluding games with the 'VR Only' tag site-wide (e.g. right next to the option for excluding adult content site-wide). But I get that he's busy and such an ask doesn't feel worth actually requesting to me.
But, like w the adult filter, it wouldn't do anything about GAs that appear in a train. So definitely there is a good use case for meneldur's user script / esgst / etc. I'm also a bit curious if I could merge what this script does into Alpha2749's Train Navigation Assistant so that I could basically automate the process of skipping carts I have zero interest in. I saved both to look at later but I don't have time to mess with it right now.
Comment has been collapsed.
Cool idea for a script, I always wanted to remove those 18+ games from the list, but I never blacklist people, now i can solve it with you script thanks!
Comment has been collapsed.
I also thought about that when I saw this discussion, and maybe you could check any links starting with https://www.steamgifts.com/giveaway/ and check if they're not equal to the value of document.referrer (this would likely be the previous cart). That should leave you with either the next cart or a side cart.
Comment has been collapsed.
Nice stuff, congrats for achieving it. I still struggle a bit with getting into coding for web extensions and user scripts, they make less sense in my head than standalone software. Would you be willing to share your conversation history with ChatGPT so I could see how you steered the conversation? It's fine if not but I thought it was worth asking
Comment has been collapsed.
I will get the chat later for a paste bin.
no secret there.
I can do (mostly) python, since I started gokiccoon last year ... but userscripts structure always seems a bit off for me. I know what I want but got no clue of the syntax... so chatgpt is awesome to cheat that.
Comment has been collapsed.
Precisely - I understand the basic of Javascript but when you need to create an userscript, it feels that it's helpful to know the page you're tinkering with in a lot of detail, and it just feels too burdensome for someone without a lot of experience. I imagina ChatGPT et al would help a lot with that. Thank you for sharing the chat below, I'll definitely try to learn from it and maybe tinker with my scripts as well :)
Comment has been collapsed.
Steamgifts are quite straightforward, so it was quite simple.
When i was doing a script to automatize the hidden games for playtracker and blaeo (wont play), it was... tough.
Making chatgpt correctly identify items... was a bit trickier and needed a lot of iteractions.
Comment has been collapsed.
Here it goes.
https://chatgpt.com/share/68cd7de1-c4c8-8003-a95b-4c81c24d158a
I did a.few extra changes later,.but it was partially manual or in another chat with focus on specific functions.
Comment has been collapsed.
Ok I'm impressed at how efforless the whole interaction was hahaha great job. Firefox has AI integration in the browser (I have Claude setup) where you can right-click on any page and ask for a page summary or stuff like that - I think it would be a great way to tell the agent which page you want to edit without having to provide the source code as you did in the first message. Still really cool that it worked thou!
Comment has been collapsed.
Hello, I created a script with ChatGPT inspired by yours and wanted to share it.
What the script can do:
• Allows you to add 👍 / 👎 ratings for games
• Allows you to detect games you've hidden on SteamGifts on the GA page
• Allows you to identify games you own on Steam, have added to your wishlist, and have marked as “not interested” on the GA page.
• ⭐ Auto-skip trains: Allows you to automatically skip games you've rated negatively, own, have hidden, or marked as “not interested.”
Note: I don't have enough coding knowledge yet, so most of this script was built by ChatGPT. If you encounter any issues, you can report them and I'll fix them if I can, but I'm not very confident about this yet 😅. Also, anyone who wants to can edit and modify the script.
Comment has been collapsed.
I wokt be able to check until Monday, but this is the spirit of this thread!
Chatgpt can do amazing on couch coders... while I was learning python throughout the year, it did amazing to point out and help me fix issues on my gokiccoon project.
How did you do the skip functions?
I am just wondering how it is checking for the carts so it doest lead it astray (side carts) for example
Comment has been collapsed.
It only scans the description and collects /giveaway/xxxxx links. It prefers links whose text looks like “next” (or right arrow), and ignores anything that looks like “previous” (or left arrows).
If nothing is labeled, it falls back to the first giveaway link that comes right after a “previous” link; if that still isn’t present, it uses the last giveaway link as a safe fallback.
To avoid loops or branching “side carts”, it keeps a tiny session “visited” list of giveaway codes and skips any link already visited during that run. It does not parse “Cart ####” labels at all—only the link text and target.
Comment has been collapsed.
226 Comments - Last post 5 minutes ago by battlesxr
17,445 Comments - Last post 13 minutes ago by MeguminShiro
8 Comments - Last post 1 hour ago by NB264
60 Comments - Last post 1 hour ago by Foxhack
9 Comments - Last post 5 hours ago by himmler1
1,011 Comments - Last post 6 hours ago by InSpec
37 Comments - Last post 6 hours ago by jacknash
123 Comments - Last post 8 minutes ago by nonamebg
17 Comments - Last post 14 minutes ago by DarkDreams1
2,062 Comments - Last post 15 minutes ago by ZeroKasa
551 Comments - Last post 31 minutes ago by Vampus
59 Comments - Last post 1 hour ago by boloxer
1,384 Comments - Last post 1 hour ago by GraVe23
182 Comments - Last post 2 hours ago by Alpha2749
Hello everyone,
The Community Train is rolling again! After a quick chat with ninglor on the POP Discord, I put something together with ChatGPT and figured I’d share it:
https://pastebin.com/FnDC2dFx
(as with every userscript, double check if it is safe with your AI tool of preference)
Why?
Ever felt déjà vu when browsing the train — seeing the same game title over and over, but not remembering if it was worth your time? This little script fixes that!
What it does:
Adds two big buttons next to each game title (👍 / 👎).
You check the game once, leave your feedback, and the script remembers it for the next time that game shows up.
As a bonus, the background color changes: green for 👍 and red for 👎, so it’s super quick to spot your previous rating.
It’s a bit rough around the edges, but honestly it’s saving me from re-checking the same games again and again — maybe it’ll help you too!
And of course, the mandatory giveaway for this thread will be on the Community Train.
See you there! o/
edit: updated the code with yannbz suggestion.
edit 2: limited to /giveaway/ pages, made the buttons incolour instead of white and added a black background in case the game is owned.
Comment has been collapsed.