您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Decimal Killer LOLZ EN
// ==UserScript== // @name Decimal Killer LOLZ // @namespace http://tampermonkey.net/ // @version 2024-11-14 // @description Decimal Killer LOLZ EN // @author Eliot // @match https://lolz.live/* // @match https://zelenka.guru/* // @match https://lolz.guru/* // @match https://lzt.market/* // @icon https://nztcdn.com/avatar/l/1730732417/8821727.webp // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; window.onload = function() { const getElements = (...classNames) => { return classNames.flatMap(className => Array.from(document.querySelectorAll(`.${className}`))); }; const updateBalance = (elements) => { elements.forEach(element => { if (element) { const balanceValueText = element.textContent.replace(/[^0-9\s,]/g, ''); const wholePart = balanceValueText.split(',')[0].trim(); const formattedValue = wholePart.replace(/\B(?=(\d{3})+(?!\d))/g, ' '); element.textContent = formattedValue; } else { console.warn('Элемент не найден или пуст:', element); } }); }; const allBalanceElements = getElements( 'balanceValue', 'balanceValue muted', 'Incomes', 'Outgoings', 'amount mainc', 'out', 'amountChange .in span' ); if (allBalanceElements.length > 0) { updateBalance(allBalanceElements); } }; })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址