您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Sets the displayed coin count on Bopimo to a custom amount.
// ==UserScript== // @name Set Bopimo Coins to custom amount. // @namespace http://tampermonkey.net/ // @version 0.1 // @description Sets the displayed coin count on Bopimo to a custom amount. // @author Teemsploit // @match *://*.bopimo.com/* // @grant none // @license Unlicense // ==/UserScript== (function() { 'use strict'; function setCoins() { const coinElements = document.querySelectorAll('.flex-align-middle.v-popper--has-tooltip'); coinElements.forEach(element => { const coinIcon = element.querySelector('.b-coin'); const coinText = element.querySelector('div:nth-child(2)'); if (coinIcon && coinText) { coinText.textContent = '24.3k'; } }); } setCoins(); const observer = new MutationObserver(setCoins); observer.observe(document.body, { childList: true, subtree: true }); })();