I added input validation in v1.3. So now it tells you if you've entered an invalid code and doesn't do anything until you fix it.
Comment has been collapsed.
Sometime ago I wrote this JavaScript code to toggle the countries checkbox base on SteamDB region restriction. No need for an existing giveaway, or an user script manager.
https://www.steamgifts.com/go/comment/OBUysGI
Comment has been collapsed.
This is great, thank you.
Wondering if it'd be possible to also accept full country names. This would make it possible to copy the country list from steamdb packages.
Comment has been collapsed.
Added better support for SteamDB country codes in v1.1
example https://steamdb.info/sub/802556/
https://i.imgur.com/gkrBw9x.png
Comment has been collapsed.
Please also add support for this case: This package can NOT be activated in the following countries.
When user enter a list of countries code, only countries not in the list will be selected.
https://steamdb.info/sub/863943/info/
Edit: First Select All, then Remove Regions.
Comment has been collapsed.
But we can find the restrictions by this, right?
https://greasyfork.org/en/scripts/520676-steamgifts-region-helper
So even it is not bundled they could be able to get the information and suggest this?
I mentioned bundle it seems like some HUMble Bundle games has restrictions.
I am no expert on the topic though.
My last game was region restricted which I didn't know and I had to delete it.
So I am just trying to learn the topic.
Comment has been collapsed.
Holy cow this is awesome. I finally had first hand experience with real tight restrictions with Hexarchy and that was an absolute pain. With what it seems HB getting tighter on region locks in their bundles, this feels incredibly useful.
Comment has been collapsed.
Thanks for this awesome script lext! 💯 It came in very handy just now when I created a GA for Cassette Beasts which has atrocious restrictions. Would've been a real pain to do it manually.
Comment has been collapsed.
Did you see the latest December listing? They seem to be getting worse!
https://www.steamgifts.com/discussion/MO8hE/humble-bundle-december-2024-humble-choice-61-6-months-for-49
Comment has been collapsed.
This is absolutely gold. The kind of functionality I wish existed natively on the website. Thanks a lot, lext! This is actually inspiring, I kind of want to create my own scripts in other websites now that I see how this works
Comment has been collapsed.
14 Comments - Last post 1 minute ago by Adamdoodles
927 Comments - Last post 24 minutes ago by absynthe007
34 Comments - Last post 2 hours ago by Serpy
3 Comments - Last post 4 hours ago by C4pM
18 Comments - Last post 4 hours ago by dorfis
47,228 Comments - Last post 8 hours ago by Karp55
10 Comments - Last post 12 hours ago by Chad78
79 Comments - Last post 24 seconds ago by PonBaron
56 Comments - Last post 8 minutes ago by Ottah
79 Comments - Last post 10 minutes ago by ErhanT
20 Comments - Last post 13 minutes ago by reigifts
76 Comments - Last post 19 minutes ago by ErhanT
83 Comments - Last post 31 minutes ago by MarvashMagalli
24 Comments - Last post 47 minutes ago by ngoclong19
SteamGifts Region Helper
Assists with setting regions on new giveaways.
https://i.imgur.com/8p6maHF.png
Download
👉 https://greasyfork.org/en/scripts/520676-steamgifts-region-helper
Never installed a Userscript before? Get this addon and then visit the download link above and install.
SteamDB Usage
SteamDB lists two types of restrictions: allowed countries or disallowed countries. Example of disallowed countries: https://i.imgur.com/jxea781.png
Allowed Countries
Find the package on SteamDB like https://steamdb.info/sub/802556/
https://i.imgur.com/gkrBw9x.png
Copy the country codes from SteamDB and paste them into the new text field on the New Giveaway form, then click Add Regions.
https://i.imgur.com/8p6maHF.png
Disallowed Countries
SteamDB also has a listing of countries that are disallowed, such as https://steamdb.info/sub/863943/info/
In this case, follow the same procedure as before but on the New Giveaway form first click Select All. Then paste the country codes into the text field but this time click Remove Regions. This will make it so all countries except the listed ones are allowed.
Copy Existing Giveaway
You can also visit existing giveaway region listings which now have a textbox where you can copy all the country codes. You have to navigate each page and copy each list of codes.
https://i.imgur.com/LgHZz7C.png
Comment has been collapsed.