您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change all text on Nova Hill to Montserrat Bold and apply a blinding white theme that destroys your vision slowly.
// ==UserScript== // @name Nova Hill Flashbang // @namespace http://tampermonkey.net/ // @version 1.5 // @description Change all text on Nova Hill to Montserrat Bold and apply a blinding white theme that destroys your vision slowly. // @author You // @match https://nova-hill.com/* // @grant none // ==/UserScript== (function() { 'use strict'; document.body.style.fontFamily = 'Montserrat, sans-serif'; document.body.style.fontWeight = 'bold'; document.body.style.backgroundColor = '#ffffff'; document.body.style.color = '#000000'; let elements = document.querySelectorAll('*'); elements.forEach(el => { el.style.backgroundColor = '#ffffff'; el.style.color = '#000000'; el.style.fontFamily = 'Montserrat, sans-serif'; el.style.fontWeight = 'bold'; }); let buttons = document.querySelectorAll('button'); buttons.forEach(btn => { btn.style.background = 'linear-gradient(0deg, #f1f1f1 0%, #e1e1e1 100%)'; btn.style.color = '#000000'; }); const iconReplacer = (iconClass, iconName) => { let iconElements = document.querySelectorAll(`.${iconClass}`); iconElements.forEach(icon => { icon.classList.replace(icon.classList[0], iconName); icon.style.fontSize = '20px'; icon.style.background = 'none'; icon.style.border = 'none'; icon.style.display = 'inline-block'; icon.style.verticalAlign = 'middle'; }); }; iconReplacer('bucks-icon', 'icon-bucks'); iconReplacer('bits-icon', 'icon-bits'); iconReplacer('messages-icon', 'icon-messages'); iconReplacer('friends-icon', 'icon-friends'); iconReplacer('candy-icon', 'icon-candy'); iconReplacer('special-e-icon', 'icon-special'); iconReplacer('special-icon', 'icon-special2'); iconReplacer('arrow-down', 'icon-arrow-down'); })();