Guest User

Auto join giveaway gameminer.ru

a guest
Jun 26th, 2014
571
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @encoding utf-8
  3. // @name Auto join giveaway gameminer
  4. // @version 1.0
  5. // @namespace
  6. // @author Chupz0r
  7. // @description Auto join giveaway
  8. // @include http://gameminer.ru/
  9. // @run-at document-start
  10. // ==/UserScript==
  11. (function(){
  12. window.onload = function() {
  13. var i=0,j=0,n=0,m=0,k=0,t=3000,r=60000,p=0;
  14. var regular = document.getElementsByClassName('giveaways clearfix')[1].getElementsByClassName('btn btn-golden');
  15. var sandpit = document.getElementsByClassName('giveaways clearfix')[2].getElementsByClassName('btn btn-golden');
  16. n = regular.length;
  17. m = sandpit.length;
  18.  
  19.  
  20. if (i < n) {
  21. regular[i].click();
  22. i++;
  23. setTimeout(arguments.callee, t);
  24. }
  25. if (j < m) {
  26. sandpit[j].click();
  27. j++;
  28. setTimeout(arguments.callee, t);
  29. }
  30. setInterval('window.location.reload()', r);
  31. };
  32. })();
RAW Paste Data