Advertisement
coinwalk

lootbits

Jun 24th, 2019
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Lootbits.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description automate the lootbit site
  6. // @author Bboy Tech
  7. // @match https://lootbits.io/dashboard.php*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. this.$ = this.jQuery = jQuery.noConflict(true);
  13. var claimTimer = setInterval (function() {claim(); }, Math.floor(Math.random() * 1000) + 2000);
  14. function claim(){
  15. var number=document.getElementById("lootbits").innerHTML;
  16. var numdown=document.getElementById("countdown_time").innerHTML;
  17. if (numdown === "00:01")
  18. {
  19. location.href = "https://lootbits.io/dashboard.php";
  20. }
  21. else
  22. {
  23. if (number > 0)
  24. {
  25. $( ".confirm" ).click();
  26. $( ".lootbox" ).click();
  27. }
  28. else
  29. {
  30. //do nothing
  31. }
  32. }
  33. if (numdown === "00:00")
  34. {
  35. var href = $('#claimbtn').attr('href');
  36. var newhref = "https://lootbits.io/dashboard.php"+href
  37. location.href = newhref;
  38. }
  39. else
  40. {
  41. //do nothing
  42. }
  43. $( "#id3a8b998253cross3a8b998253" ).click();
  44. }
  45. document.getElementById("lootboxout").click;
  46. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement