您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows Total Robux Amount On Gamepasses
// ==UserScript== // @name ✨Total Gamepass Price // @icon https://cdn.discordapp.com/attachments/898314728219242597/900157044009611284/image.png // @namespace lol // @namespace https://www.roblox.com/ // @version 1.0.1 // @description Shows Total Robux Amount On Gamepasses // @author levisurely // @license Apache-2.0 // @match https://www.roblox.com/games* // @match https://web.roblox.com/games* // @match https://roblox.com/games* // @grant none // ==/UserScript== //lev#9999 On Discord //discord.gg/tmYQr99wTa setInterval(function(){ function addCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } let total = 0 for (const pass of document.querySelectorAll("span.text-robux")) { total = total + (parseInt(pass.textContent.replace(/,/g, '')) || 0) } const theme = document.getElementById('rbx-body') .className.includes('light') const passesTab = document.getElementById('rbx-game-passes') .getElementsByTagName('h3') passesTab[0].innerText = `Passes (${addCommas(total)} Robux)` }, 100);