您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automate interactions on NitroMath, this bot does not allow accuracy settings and will play for hours on end WITH a captcha solver added. Also, will run in the background if needed. --NOTE-- This script will run forever, without stopping.
当前为
// ==UserScript== // @name NitroMath Bot // @namespace https://singdev.wixsite.com/sing-developments // @version 0.6 // @description Automate interactions on NitroMath, this bot does not allow accuracy settings and will play for hours on end WITH a captcha solver added. Also, will run in the background if needed. --NOTE-- This script will run forever, without stopping. // @author Sing Developments // @match https://www.nitromath.com/play // @grant none // ==/UserScript== (function () { 'use strict'; function getRandomNumber(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } function moveMouseRandomly() { const body = document.body; const offsetX = getRandomNumber(0, body.offsetWidth); const offsetY = getRandomNumber(0, body.offsetHeight); const event = new MouseEvent('mousemove', { bubbles: true, clientX: offsetX, clientY: offsetY, }); body.dispatchEvent(event); } function reloadPage() { location.reload(); } let userId = localStorage.getItem('nitroMathUserId'); if (!userId || !isValidUserId(userId)) { userId = prompt('Enter your user ID:'); localStorage.setItem('nitroMathUserId', userId); } const pantryUrl = 'https://getpantry.cloud/apiv1/pantry/72833e69-a158-4fc3-9f0a-133f18ee2b4b/basket/nmbotusers'; fetch(pantryUrl) .then((response) => response.json()) .then((data) => { if (data.users.includes(userId)) { setInterval(moveMouseRandomly, 1000); setInterval(reloadPage, 100000); } else { let correctUserId; do { correctUserId = prompt('Error: Invalid user ID. Please enter the correct one:'); } while (!isValidUserId(correctUserId)); localStorage.setItem('nitroMathUserId', correctUserId); location.reload(); } }) .catch((error) => { console.error('Error fetching user list:', error); alert('Error fetching user list. Please try again later.'); }); function isValidUserId(id) { return id !== null && id.trim() !== ''; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址