Guest User

SUPER TOP SECRET REDDIT BUTTON SCRIPT

a guest
Apr 2nd, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. var lowestNum = 70;
  2. setInterval(function() {
  3. currNum = (parseInt($('#thebutton-s-10s').text() + $('#thebutton-s-1s').text()));
  4.  
  5. if(currNum <= 2){ //if timer is less than or equal to 2, click
  6. $('#thebutton')[0].click();
  7. console.log("Wooooo!");
  8. }
  9.  
  10. if(currNum < lowestNum){ //if timer is lower than recorded number, print to console
  11. lowestNum = currNum;
  12. console.log("New record: " + lowestNum);
  13. }
  14. }, 200);
Advertisement
Add Comment
Please, Sign In to add comment