您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
AutoClaim5min
// ==UserScript== // @name RS Faucet // @namespace http://tampermonkey.net/ // @version 3.1 // @description AutoClaim5min // @author 👽 // @match https://rsfaucet.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; function randomDelay(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); } function humanClick(element) { if (!element) return; const rect = element.getBoundingClientRect(); const x = rect.left + rect.width / 2; const y = rect.top + rect.height / 2; // Simulate mouse events ['mousedown', 'mouseup', 'click'].forEach(eventType => { const event = new MouseEvent(eventType, { view: window, bubbles: true, cancelable: true, clientX: x + randomDelay(-5, 5), clientY: y + randomDelay(-5, 5) }); element.dispatchEvent(event); }); } function clickClaim() { const btn = document.querySelector('#claimBtn'); if (btn) { humanClick(btn); } else { setTimeout(clickClaim, 500 + randomDelay(0, 500)); } } window.addEventListener('load', function() { setTimeout(clickClaim, randomDelay(12000, 17000)); }); })();