Cannot solve the Picture but helps by the other clicks
当前为
// ==UserScript==
// @name [Premium] Viefaucet Captcha Helper
// @namespace https://greasyfork.org/users/1162863
// @version 1.3
// @description Cannot solve the Picture but helps by the other clicks
// @author Andrewblood
// @icon https://coinfinity.top/favicon.ico
// @match *://*.viefaucet.com/*
// @grant window.focus
// @license Copyright Andrewblood
// ==/UserScript==
(function() {
'use strict';
function VieCaptcha() {
const targetElementSelector = '.check-box';
const targetElement = document.querySelector(targetElementSelector);
if (targetElement) {
window.focus();
console.log('Captcha Helper: Captcha found please click the picture.')
targetElement.click();
}
const dotElement = document.querySelector('div.dot');
if (dotElement) {
const buttons = document.querySelectorAll('button');
buttons.forEach(button => {
if (button.textContent.includes('Verify')) {
button.click();
}
});
}
}
setInterval(VieCaptcha, 1000);
})();