Forked from pedrofracassi/quicksteamactivator.user.js
Created
October 13, 2022 19:30
-
-
Save dterracino/6fcea4ccb1a9cb7502c3ada4ea46200a to your computer and use it in GitHub Desktop.
Steam Key Quick Activator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Steam Key Quick Activator | |
// @namespace http://pedrofracassi.me/ | |
// @version 1.2 | |
// @description Activates Steam Keys Quickly! | |
// @author Pedro Fracassi (http://pedrofracassi.me) | |
// @match https://store.steampowered.com/account/registerkey?key=* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
'use strict'; | |
if (document.getElementById('product_key').value != '') { | |
document.getElementById('accept_ssa').click(); | |
document.getElementById('register_btn').click(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
var selection = window.getSelection().toString(); | |
if (selection) { | |
location.href = 'https://store.steampowered.com/account/registerkey?key=' + selection; | |
} else { | |
location.href = 'https://store.steampowered.com/account/registerkey?key=' + prompt('Insert Steam Key'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment