您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Reverts Roblox's new naming system to OG terms (Catalog, Games, Friends, Groups)
// ==UserScript== // @name Roblox OG Name Restorer (Ultimate Edition) // @namespace http://tampermonkey.net/ // @version 1.1 // @description Reverts Roblox's new naming system to OG terms (Catalog, Games, Friends, Groups) // @author Emree // @match https://*.roblox.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const replacements = { "Marketplace": "Catalog", "Charts": "Games", "Connections": "Friends", "Connection": "Friend", "Connect": "Friends", "Communities": "Groups", "Community": "Group" }; function replaceText(node) { if (node.nodeType === 3) { let text = node.textContent; let replaced = false; for (let [key, value] of Object.entries(replacements)) { if (text.includes(key)) { text = text.replaceAll(key, value); replaced = true; } } if (replaced) node.textContent = text; } else if (node.nodeType === 1 || node.nodeType === 9 || node.nodeType === 11) { for (let child of node.childNodes) { replaceText(child); } } } const observer = new MutationObserver(mutations => { for (let mutation of mutations) { for (let node of mutation.addedNodes) { replaceText(node); } } }); observer.observe(document.body, { childList: true, subtree: true }); replaceText(document.body); // Initial run })();