harryd3v
Blue Team Operator
Divine
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
400 XP
Recently tried out @ and it was no longer working, as Amazon updated their element IDs.
Decided to modify it, so it works, plus modified the code generation code, so the code is following Amazon formatting.
alert("Made by Mostafa. Modified by Veronicaa.");
var speed = prompt("How fast should it check codes? 1000 = 1 Second")
function generateCode() {
// XXXX-XXXXYX-XYYXY
var code = "";
var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var numbers = "1234567890";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += "-";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += "-";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
return code;
}
function main() {
document.getElementById("spc-gcpromoinput").value = generateCode();
document.getElementById("gcApplyButtonId").click();
console.log("Checking: " + generateCode());
}
setInterval(function() {
main();
}, speed);
1. Add random item to your Amazon cart.
2. Proceed to checkout.
3. On the https://www.amazon.com/gp/buy/spc/handlers/display.html?hasWorkingJavascript=1 page, refresh once.
4. Inspect Element
5. Paste code into the Inspect Element Console.
Video, as requested: https://streamable.com/9lybf
This will generate a code following the XXXX-XXXXYX-XYYXY format, and apply it, to see if it applies correctly.
MAKE $100-$200 EVERY DAY
PAYPAL.RIP ULTIMATE PAYPAL SOLUTION
Edited by Veronicaa, 30 March 2020 - 10:41 PM.
Decided to modify it, so it works, plus modified the code generation code, so the code is following Amazon formatting.
alert("Made by Mostafa. Modified by Veronicaa.");
var speed = prompt("How fast should it check codes? 1000 = 1 Second")
function generateCode() {
// XXXX-XXXXYX-XYYXY
var code = "";
var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var numbers = "1234567890";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += "-";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += "-";
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
code += alphabet.charAt(Math.floor(Math.random() * alphabet.length));
code += numbers.charAt(Math.floor(Math.random() * numbers.length));
return code;
}
function main() {
document.getElementById("spc-gcpromoinput").value = generateCode();
document.getElementById("gcApplyButtonId").click();
console.log("Checking: " + generateCode());
}
setInterval(function() {
main();
}, speed);
1. Add random item to your Amazon cart.
2. Proceed to checkout.
3. On the https://www.amazon.com/gp/buy/spc/handlers/display.html?hasWorkingJavascript=1 page, refresh once.
4. Inspect Element
5. Paste code into the Inspect Element Console.
Video, as requested: https://streamable.com/9lybf
This will generate a code following the XXXX-XXXXYX-XYYXY format, and apply it, to see if it applies correctly.
MAKE $100-$200 EVERY DAY
PAYPAL.RIP ULTIMATE PAYPAL SOLUTION
Edited by Veronicaa, 30 March 2020 - 10:41 PM.