Auto Claim

Auto claim loop

  1. // ==UserScript==
  2. // @name Auto Claim
  3. // @namespace Terminator.Scripts
  4. // @version 0.3
  5. // @description Auto claim loop
  6. // @author TERMINATOR
  7. // @license MIT
  8. // @match https://btcrocket.net/home/wallet/*/faucet
  9. // @match https://ethrocket.net/home/wallet/*/faucet
  10. // @match https://cryptoarea.net/home/wallet/*/faucet
  11. // @match https://faucetdash.com/home/wallet/*/faucet
  12. // @match https://cryptoxmr.net/home/wallet/*/faucet
  13. // @icon https://www.google.com/s2/favicons?sz=64&domain=cryptoarea.net
  14. // @grant none
  15. // ==/UserScript==
  16.  
  17. // For proper functioning, install the extension hektCaptcha or any other solver
  18.  
  19. (function() {
  20. 'use strict';
  21. function waitForCaptchaAndUnlock() {
  22. var rollButton = document.getElementById('faucet_roll');
  23. if (rollButton) {
  24. rollButton.click()
  25. } else {
  26. console.error('Roll button not found.');
  27. setTimeout(waitForCaptchaAndUnlock, 1000);
  28. }
  29. }
  30. window.addEventListener('load', function() {
  31. if (window.location.href.includes("verify")) {
  32. let buttonVerify = document.querySelector('.swal2-confirm.btn.btn-primary')
  33. if (!buttonVerify) return;
  34. buttonVerify.click();
  35. } else {
  36. setTimeout(() => {
  37. waitForCaptchaAndUnlock();
  38. },15000);
  39. }
  40. });
  41. })();