您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
This automatically clicks or executes on any reCAPTCHA on the webpage and submits its form directly after you solved it.
// ==UserScript== // @name reCAPTCHA Helper // @icon https://www.gstatic.com/recaptcha/admin/favicon.ico // @version 1.1.4 // @description This automatically clicks or executes on any reCAPTCHA on the webpage and submits its form directly after you solved it. // @author Royalgamer06 // @include * // @grant none // @run-at document-start // @namespace http://greasyfork.icu/scripts/18449-recaptcha-form-autosubmit/ // @homepageURL http://greasyfork.icu/scripts/18449-recaptcha-form-autosubmit/ // @supportURL http://greasyfork.icu/scripts/18449-recaptcha-form-autosubmit/feedback/ // ==/UserScript== // ==Configuration== const blacklistedUrls = [ "miped.ru", "www.indiegala", "https://gleam.io/" ]; // ==/Configuration== // ==Code== const url = window.location !== window.parent.location ? document.referrer : document.location.href; if (isNotBlackListed(url)) { if (location.href.includes("google.com/recaptcha")) { var clickCheck = setInterval(function() { if (document.querySelectorAll(".recaptcha-checkbox-checkmark").length > 0) { clearInterval(clickCheck); document.querySelector(".recaptcha-checkbox-checkmark").click(); } }, 50); } else { window.onload = readyToHelp; } } function readyToHelp() { var execCheck = setInterval(function() { if (window.grecaptcha && window.grecaptcha.execute) { clearInterval(execCheck); try { window.grecaptcha.execute(); } catch(e) {} } }, 50); [...document.forms].forEach(form => { if (form.innerHTML.includes("google.com/recaptcha")) { var solveCheck = setInterval(function() { if (window.grecaptcha && !!grecaptcha.getResponse()) { clearInterval(solveCheck); form.submit(); } }, 50); } }); } function isNotBlackListed(url) { return blacklistedUrls.every(bu => !url.includes(bu)); } // ==/Code==