您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automaticly claim coins on bot-hosting.net (You still need to complete captcha)
// ==UserScript== // @name Auto Coins // @namespace https://bot-hosting.net/ // @version 1.0 // @description Automaticly claim coins on bot-hosting.net (You still need to complete captcha) // @author Gyro3630 // @match https://bot-hosting.net/* // @grant none // @license MIT // @icon https://bot-hosting.net/assets/img/bothosting2.png // ==/UserScript== (function() { 'use strict'; function debounce(func, wait) { let timeout; return function() { clearTimeout(timeout); timeout = setTimeout(() => func.apply(this, arguments), wait); }; } function clickOnClaim() { var boutonXPath = "/html/body/div[1]/div/section/section/article/div/main/div[1]/div/div[1]/div/div/button"; // Claim button XPath var bouton = document.evaluate(boutonXPath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; if (bouton) { bouton.click(); } } var observer = new MutationObserver(debounce(function(mutations) { mutations.forEach(function(mutation) { if (mutation.addedNodes.length > 0) { clickOnClaim(); } }); }, 1000)); var config = { subtree: true, childList: true }; observer.observe(document.body, config); clickOnClaim(); })();