Automatically redeem steam keys

Automatically redeems steam keys

    // ==UserScript==
    // @name        Automatically redeem steam keys
    // @namespace   UnmetPlayer
    // @description Automatically redeems steam keys
    // @match       https://store.steampowered.com/account/registerkey?key=*
    // @version     1.0
    // @author      UnmetPlayer
    // @grant       none
    // ==/UserScript==
     
    (function() {
        document.querySelector("#accept_ssa").click()
        document.querySelector("#register_btn > span").click()
    })();