您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the game grid
// ==UserScript== // @name Moomoo.io Game grid removal // @author Murka // @description Removes the game grid // @icon https://moomoo.io/img/favicon.png?v=1 // @version 0.3 // @match *://moomoo.io/* // @match *://*.moomoo.io/* // @run-at document-start // @grant none // @license MIT // @namespace https://gf.qytechs.cn/users/919633 // ==/UserScript== /* jshint esversion:6 */ /* Author: Murka Github: https://github.com/Murka007 Discord: https://discord.gg/sG9cyfGPj5 Greasyfork: https://gf.qytechs.cn/en/users/919633 MooMooForge: https://github.com/MooMooForge */ (function() { "use strict"; // Change to true or false const GRID_ENABLED = false; function inRange(value, min, max) { return value > min && value < max; } function createHook(target, prop, callback) { const symbol = Symbol(prop); Object.defineProperty(target, prop, { get() { return this[symbol]; }, set(value) { callback(this, symbol, value); }, configurable: true }) } createHook(window, "config", function(that, symbol, value) { if (typeof value === "object" && value.hasOwnProperty("maxScreenHeight")) { delete window.config; Object.defineProperty(window, "config", { value: value, configurable: false, writeable: false }) } }) CanvasRenderingContext2D.prototype.moveTo = new Proxy(CanvasRenderingContext2D.prototype.moveTo, { apply(target, _this, args) { if (!GRID_ENABLED) { const [ x, y ] = args; const { maxScreenWidth, maxScreenHeight } = window.config || {};; if (inRange(x, 0, maxScreenWidth) || inRange(y, 0, maxScreenHeight)) return null; } return target.apply(_this, args); } }) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址