Amazon Gift Card Generator+Checker Code


SUBMITTED BY: cnnrbuisness4

DATE: Oct. 23, 2019, 11:11 a.m.

FORMAT: Text only

SIZE: 1.5 kB

HITS: 477

  1. //Credits
  2. alert("Based on Phenomena/Mostafa code");
  3. alert("Base Modified by @JonathanRS");
  4. alert("Minor fixes & improvements by finn34");
  5. alert("If it worked for you, don't forget to like! Thanks :)");
  6. var speed = prompt("Type 1,000 if your PC is fast, 500 for a slow pc")
  7. function Letter() {
  8. var code = "";
  9. var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  10. for (var i = 0; i < 1; i++)
  11. code +=
  12. chars.charAt(Math.floor(Math.random() * chars.length));
  13. return code;
  14. }
  15. function Number() {
  16. var code = "";
  17. var chars = "0123456789";
  18. for (var i = 0; i < 1; i++)
  19. code +=
  20. chars.charAt(Math.floor(Math.random() * chars.length));
  21. return code;
  22. }
  23. function Hyphen() {
  24. var code = "";
  25. code = "-";
  26. return code;
  27. }
  28. function Random() {
  29. var code = "";
  30. var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  31. for (var i = 0; i < 1; i++)
  32. code +=
  33. chars.charAt(Math.floor(Math.random() * chars.length));
  34. return code;
  35. }
  36. function main() {
  37. document.getElementsByName("ppw-claimCode")[0].value = Random()+ Random()+ Random()+ Random()+ Hyphen()+ Random()+ Random()+ Random()+ Random()+ Random()+ Random()+ Hyphen()+ Random()+ Random()+ Random()+ Random();
  38. //EDIT THIS TOP LINE FOR A CUSTOM PATTERN BY REPLACING Random() FOR Letter() OR Number() (Don't change the places of the Hyphen()s! )
  39. document.getElementsByName("ppw-claimCodeApplyPressed")[0].click();
  40. }
  41. setInterval(function() {
  42. main();
  43. }, speed);

comments powered by Disqus