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.
If they are not available on SG then how should I proceed? For example, Curaçao (CW) and Sint Maarten (SX) are not on SG. I need to exclude those two from the list. Do I just not do anything in this case? I hope they aren't included in other SG territories because then I would be having issues with the winner not being able to redeem.
Comment has been collapsed.
Thank you so much! I think it would be a good idea to add a note in the description of the giveaway just so I don't have issues because of it. From what I saw, only those two countries seem to be excluded from SG which is kind of weird imo..
Comment has been collapsed.
Is the script working for people on current site version? It shows as activated for me in Tampermonkey on Opera but I see no button for adding regions.
Comment has been collapsed.
Nvm, some conflicting script on my end. Anyways, the script has a little annoyance - it shows a popup saying there are unsupported country codes and then nothing happens. IMO the popup should have a button like "Add the remaining codes" instead of asking you to remove codes manually.
Comment has been collapsed.
12 Comments - Last post 2 minutes ago by Filipi
14 Comments - Last post 18 minutes ago by etneveL
4 Comments - Last post 33 minutes ago by drschnell
1 Comments - Last post 54 minutes ago by madsession
5,954 Comments - Last post 59 minutes ago by windenchanter
14 Comments - Last post 1 hour ago by sylvain
9 Comments - Last post 2 hours ago by Wolfgang6688
158 Comments - Last post 2 minutes ago by TwixClub
366 Comments - Last post 5 minutes ago by mstrkllr
169 Comments - Last post 10 minutes ago by quinnix
106 Comments - Last post 16 minutes ago by juhaszandor
324 Comments - Last post 17 minutes ago by Leeuw96
1,926 Comments - Last post 38 minutes ago by Chris76de
16,880 Comments - Last post 48 minutes ago by SquishedPotatoe
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
Fanatical region restrictions
I created a script to assist with Fanatical restrictions https://greasyfork.org/en/scripts/529599-fanatical-bundle-regional-pricing
On the page of a game, you can click Show Allowed Regions to see a full text box of the game's allowed regions
Changelog
1.6.0 (2026-07-13) improve 2-letter country code detection and convert TP->TL and DZA->DZ
1.5.0 (2026-05-09) if invalid country codes are entered, option now to add only the valid one
1.4.0 (2025-02-18) add support for entering full country names
Strategy Guide
Check SteamDB. If none of the packages show region locks, it's a global key.
https://i.imgur.com/DlIuxQ7.png
https://steamdb.info/app/1766740/subs/
If some do have locks, then I check the Steam Gifts deals forum for the deal I purchased it from. People usually post which package a key activates.
https://i.imgur.com/AV56z6T.png
https://steamdb.info/app/1601580/subs/
Deal thread example. People share their region and which sub was activated.
https://www.steamgifts.com/discussion/uvZVU/humble-bundle-september-2026-choice-82#HS4HQP7
I use my Steam Gifts Region Helper script to enter in the region locks
https://www.steamgifts.com/discussion/0cMuP/steamgifts-region-helper
What if you bought the key outside of a bundle (e.g. GMG, Fanatical store, reseller, etc)
This is the most complicated case. yannbz has a script to help with Fanatical, Playsum, Gamivo, and GamesPlanet.
https://www.steamgifts.com/discussion/PaXdn/tool-region-lock-helper-tampermonkey-script
Other than that, you can try to guess based on your region and what SteamDB packages are available in your region.
For example, if you live in the USA and are looking at the Frostpunk 2 packages https://i.imgur.com/Gm0QpJC.png
Well none of the packages explicitly INCLUDE the USA. So that means your package is probably one of the EXCLUDE ones. In this case both exclude ones have the same exclusions, so you can deduce that your key is that package.
https://steamdb.info/app/1601580/subs/
An uglier example with Sonic https://i.imgur.com/o3BIofd.png there's two possible packages, so I exclude all countries from both packages just to be sure. https://steamdb.info/app/2513280/subs/
Comment has been collapsed.