Injectable javascript used for the steam redeem page in browser to automatically submit a prefilled code.
Depending on your browser the use methods may be different but I will outline the basics with firefox which should be mostly applicable with other browsers
-
Find an extension that lets you inject javascript into a webpage
- Simple JavaScript Injector
- Code Injector (I Personally use this one)
-
Copy the contents of the
steam-helper.js
file into the injector, or have it source the file if the extension supports it -
set the domain to be the steam store
store.steampowered.com
, if possible you can limit it tostore.steampowered.com/redeem
- Don't auto close the window if the key fails to redeem.
- If the key already exists on the account save the key to a text file with name as the game name.