您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A simple MooMoo.io script, will work for typical store stuff rolled out by MooMoo.io.
// ==UserScript== // @name MooMoo.io - No Store Names // @namespace https://greasyfork.org/en/users/1064285-vcrazy-gaming // @grant none // @description A simple MooMoo.io script, will work for typical store stuff rolled out by MooMoo.io. // @author vcrazy // @version 0.0.2 // @match *://*.moomoo.io/* // @run-at document-start // @license MIT // ==/UserScript== const observer = new MutationObserver(mutations => { mutations.forEach(mutation => { mutation.addedNodes.forEach(node => { if (!(node instanceof HTMLElement)) return; if (node.matches(".storeItem") || node.querySelector(".storeItem")) { const items = node.matches(".storeItem") ? [node] : node.querySelectorAll(".storeItem"); items.forEach(item => { const span = item.querySelector("span"); if (span && span.innerText.trim()) { span.innerText = ""; } }); } }); }); }); observer.observe(document, { childList: true, subtree: true });