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.
Wow thanks - wish I'd known about this before doing my GAs this week.
Comment has been collapsed.
Just to be sure. HB uses the same country abbreviations as SteamDB, right? I would expect these to be universal, but you never know.
I tested it and it generally works, but I don't want to find out later that these two sites use different codes for some countries that were not on my list.
Great tool btw. Region restrictions are the bane of my SG existence.
Comment has been collapsed.
20 Comments - Last post 3 minutes ago by doomand
8 Comments - Last post 55 minutes ago by WastedYears
8 Comments - Last post 5 hours ago by cmiddlebrook
158 Comments - Last post 6 hours ago by Foxhack
1,173 Comments - Last post 6 hours ago by JaycemeSwain
3,917 Comments - Last post 6 hours ago by Gamy7
165 Comments - Last post 10 hours ago by DeliberateTaco
174 Comments - Last post 9 minutes ago by someonequeer
57 Comments - Last post 24 minutes ago by Vampus
2,391 Comments - Last post 25 minutes ago by PoeticKatana
46 Comments - Last post 33 minutes ago by aquatorrent
1,035 Comments - Last post 46 minutes ago by RePlayBe
1,522 Comments - Last post 50 minutes ago by thyShado
42 Comments - Last post 1 hour ago by bastirei
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.
Steam Gifting Region Restrictions
"Euro" on SteamDB pricing
Changelog
1.4.0 (2025-02-18) add support for entering full country names
Comment has been collapsed.