dropz hcaptcha

try

  1. // ==UserScript==
  2. // @name dropz hcaptcha
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-08-28
  5. // @description try
  6. // @author You
  7. // @match https://raketayo.dropz.xyz/member/check*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant GM_xmlhttpRequest
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. ( function() {
  14. 'use strict';
  15.  
  16. // Your code here...
  17.  
  18. if(myInterval == null){
  19. myInterval = setInterval(()=>{
  20. solveCaptcha();
  21. },500);
  22. }
  23.  
  24. })();
  25.  
  26. var myInterval = null;
  27. function solveCaptcha(){
  28. var hcaptchaNode = document.querySelector("input[name='cf-turnstile-response']");
  29. if (hcaptchaNode){
  30. if(hcaptchaNode.value != ''){
  31.  
  32. clickButton(".auth-form-btn");
  33. clearInterval(myInterval);
  34. }
  35.  
  36. }
  37. }
  38. function clickButton(xpath){
  39. var targetNode = document.querySelector(xpath);
  40. if (targetNode) {
  41. targetNode.click();
  42.  
  43. }
  44. else{
  45.  
  46. }
  47. }
  48.