您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change the Codingame notification's agressive red to a peaceful yellow...
// ==UserScript== // @name PeaceYellow // @namespace Violentmonkey Scripts // @match https://www.codingame.com/* // @grant none // @version 1.0 // @author BlaiseEbuth // @description Change the Codingame notification's agressive red to a peaceful yellow... // ==/UserScript== 'use strict'; var peace = function() { var bubbles = document.getElementsByClassName("cg-notification-bubble"); for(var i = 0; i < bubbles.length; ++i)bubbles[i].style.cssText = "background-color:#f2bb13 !important"; var badges = document.querySelectorAll('[class^=badge-]'); for(var i = 0; i < badges.length; ++i)badges[i].style.cssText = "background-color:#f2bb13 !important"; } setInterval(peace, 1000);