您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Another Auto Clicker for More Ore. Clicks weak spots (with a randomised delay), manual attacks for quests, gold nuggets, and hulk smashes.
当前为
// ==UserScript== // @name Another Auto Clicker for More Ore // @namespace Violentmonkey Scripts // @match https://syns.studio/more-ore/ // @grant none // @version 1.2 // @author BlueberryPir8 // @icon https://syns.studio/more-ore/misc-tinyRock.22ef93dd.ico // @require https://gf.qytechs.cn/scripts/444840-more-ore-notification/code/More%20Ore%20-%20Notification+.user.js // @license MIT // @description Another Auto Clicker for More Ore. Clicks weak spots (with a randomised delay), manual attacks for quests, gold nuggets, and hulk smashes. // ==/UserScript== /* jshint esversion: 6 */ Element.prototype._addEventListener = Element.prototype.addEventListener; Element.prototype.addEventListener = function (...args) { const weakSpot = this.classList.contains('weak-spot') ? 'Weak Spot' : null; const manualAttack = this.classList.contains('manual-attack') ? 'Manual Attack' : null; // Overriding this event causes errors for now // const goldNugget = this.classList.contains('gold-nugget-container') ? 'Gold Nugget' : null; if (!(weakSpot || manualAttack)) { this._addEventListener(...args); return; } let cb = args[1]; args[1] = function cbOverride (...args2) { args2[0] = Object.assign({}, args2[0]) args2[0].isTrusted = true; return cb(...args2); } NotificationPlus?.load(`${weakSpot || manualAttack} Auto Clicker Enabled`); console.log(`${weakSpot || manualAttack} Auto Clicker Enabled`); return this._addEventListener(...args); } const weakSpotStart = (delay = 50) => { setTimeout(() => { if (document.querySelector('.weak-spot')) { document.querySelector('.weak-spot').click(); } weakSpotStart(); }, Math.random() * delay + delay); } weakSpotStart(); const manualAttackStart = (delay = 200) => { setTimeout(() => { if (document.querySelector('.manual-attack')) { document.querySelector('.manual-attack').click(); } manualAttackStart(); }, delay); } manualAttackStart(); const goldNuggetStart = (delay = 200) => { setTimeout(() => { if (document.querySelector('.gold-nugget-container')) { document.querySelector('.gold-nugget-container').click(); } goldNuggetStart(); }, delay); } goldNuggetStart(); const hulkSmashStart = (delay = 200) => { setTimeout(() => { if (document.querySelector('.active-skill-hulkSmash')) { const elem = document.querySelector('.active-skill-hulkSmash'); if (!elem.classList.contains('on-cooldown')) elem.click(); } hulkSmashStart(); }, delay); } hulkSmashStart();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址