您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes cs.rin.ru "Donors" user rank/group glow in yellow.
- // ==UserScript==
- // @name RIN Donors name glow
- // @version 2.1
- // @description Makes cs.rin.ru "Donors" user rank/group glow in yellow.
- // @author Guess
- // @match https://cs.rin.ru/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=cs.rin.ru
- // @grant none
- // @namespace https://greasyfork.org/users/1122886
- // ==/UserScript==
- (function() {
- 'use strict';
- const style = document.createElement('style');
- style.textContent = `
- @keyframes yellowglow{0%{text-shadow:0 0 5px #bf9f00}50%{text-shadow:0 0 20px #bf9f00}100%{text-shadow:0 0 5px #bf9f00}}.yellowtxtglow{animation:yellowglow 2s infinite}
- `;
- document.head.appendChild(style);
- function glowstuff() {
- const elements = document.querySelectorAll('*[style*="color: #BF9F00"]');
- elements.forEach(element => {
- element.classList.add('yellowtxtglow');
- });
- }
- glowstuff();
- const observer = new MutationObserver(glowstuff);
- observer.observe(document.body, { childList: true, subtree: true });
- })();