daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Jan 19th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(){
  2.  
  3.   var $passcode = document.getElementById('passcode');
  4.   var $submit = document.getElementById('submit');
  5.  
  6.   function redeemOnce(passcode){
  7.     $passcode.value = passcode;
  8.     $submit.click()
  9.     console.log('redeeming ' + passcode);
  10.   }
  11.  
  12.   function redeemLoop(passcodes, interval){
  13.     passcodeList = passcodes.split('\n');
  14.     console.log(passcodeList);
  15.  
  16.     for (var i = 0; i < passcodeList.length; i++) {
  17.       setTimeout(
  18.         (function(){
  19.           let _i = i
  20.           return function(){
  21.             var _p = passcodeList[_i].trim()
  22.             redeemOnce(_p)
  23.           }
  24.         })(),
  25.         interval * i
  26.       )
  27.     }
  28.  
  29.     console.log('continuously redeeming begin!')
  30.   }
  31.  
  32.   window.redeemLoop = redeemLoop
  33.  
  34.   // Format: passcodes separate by \n, will be split to array later.
  35.   var passcodes =
  36.   `ezekiel3xh34ug4
  37.   susanna3ku75cm9
  38.   LVBOYNXAIE
  39.   VI2JO15ND0
  40.   vi9bb02fk7
  41.   vi9rp62ex1
  42.   inveniri2hc78yy4
  43.   artifact4tt67xg9
  44.   roland8cx62mk4
  45.   evolution6xu68ru7
  46.   timezero2kk78gx5
  47.   hubert4su42qt2
  48.   lightman8nd48zb2
  49.   johnson3ba26qb2
  50.   jackland8vf92qz5
  51.   powercube3hu72ut7
  52.   glyph7jb25yw3
  53.   johnson3fx84aw9
  54.   symbols4ye57bs7
  55.   kureze3ft26jc6
  56.   blue2xc26da2
  57.   resonate6wb48ec4
  58.   MINOTAUR8DM83GG5
  59.   ezekiel7eu89au4
  60.   ingress9tu32jk7
  61.   ni7up28fu6
  62.   drone5sg25ez6
  63.   drone9rc88jy5
  64.   message5ka73rp4
  65.   80jdfitmar
  66.   CASSANDRA2YU35CP6
  67.   alignment3qh24up8`
  68.  
  69.   /**
  70.    * Start Redeem Loop
  71.    * @param  {String} passcodes
  72.    * @param  {Number} interval
  73.    * @return
  74.    */
  75.   redeemLoop(passcodes, 10000);
  76. }())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top