fuck you Hitler
Human-AI Interaction Specialist
LEVEL 1
300 XP
whipped up a js script auto reload for amazon gc checking. simple but works. idk if anyone has made posts of these but this is basically a single thread browser checker.
run with tampermonkey
first contribution with js skIllzZ
run with tampermonkey
first contribution with js skIllzZ
Code:
// ==UserScript==
// @name New Userscript
// @namespace
http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match
https://www.amazon.com.au/gc/redeem/result
// @grant none
// ==/UserScript==
(function() {
function buildGC() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
for (var i = 0; i < 14; i++) {
text += possible.charAt(Math.floor(Math.random() * possible.length));
}
return text;
}
window.onload = function () {
document.getElementById("gc-redemption-input").value = buildGC();
document.getElementById("gc-redemption-apply-button").click();
}
})();