您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto clicks the "Get Reward" button with a random delay (7–13s) and no logs or traces.
// ==UserScript== // @name BitFaucet Auto // @namespace http://tampermonkey.net/ // @version 3.1 // @description Auto clicks the "Get Reward" button with a random delay (7–13s) and no logs or traces. // @author 👽 // @match https://bitfaucet.net/faucet* // @grant none // @run-at document-end // @license MIT // ==/UserScript== (function() { 'use strict'; // Hide webdriver property from detection try { Object.defineProperty(navigator, 'webdriver', { get: function() { return false; } }); } catch (e) { // Do nothing if blocked } // Function to generate a random delay (7 to 13 seconds) function getRandomDelay() { return Math.floor(Math.random() * (13000 - 7000 + 1)) + 7000; } // Function to simulate a real click function simulateClick(el) { if (!el) return; const evt = new MouseEvent("click", { bubbles: true, cancelable: true, view: window }); el.dispatchEvent(evt); } // Wait for the button to appear using MutationObserver const observer = new MutationObserver(function(mutations, obs) { const button = document.querySelector('button.btn.sl_btn.text-white'); if (button) { obs.disconnect(); // Stop watching once found const delay = getRandomDelay(); setTimeout(() => { simulateClick(button); }, delay); } }); // Start observing the page observer.observe(document, { childList: true, subtree: true }); })();