Automatically click reCaptcha checkbox button when detected it and doesn't solve the captcha for you!
当前为
// ==UserScript==
// @name reCaptcha Autoclick
// @namespace https://tampermonkey.net/
// @version 1.0
// @description Automatically click reCaptcha checkbox button when detected it and doesn't solve the captcha for you!
// @author Streampunk
// @match http://*/*
// @match https://*/*
// @grant none
// @license MIT
// ==/UserScript==
(function(){
'use strict';
let isRecaptchaFrame = () => {
return /https:\/\/www.google.com\/recaptcha\/api2\/anchor/.test(window.location.href);
};
let captchaInterval = setInterval(() => {
if (isRecaptchaFrame()) {
clearInterval(captchaInterval);
document.getElementsByClassName('recaptcha-checkbox-checkmark')[0].click();
}
}, 500);
})();