您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Ameliorations de la shoutbox
// ==UserScript== // @name Shoutbox tag // @version 1.666 // @description Ameliorations de la shoutbox // @author volca780 // @include */geek-academie.io/ // @include */geek-academie.io/shoutbox/ // @run-at document-end // @grant none // @namespace https://greasyfork.org/users/11697 // ==/UserScript== $(document).ready(function(){ var username = $("strong.accountUsername span").text(); var REG = new RegExp("(@" + username + ")"); setInterval(function(){ $("#taigachat_box ol li").each(function(){ var code = $(this).html(); var code_parsed = REG.test(code); if(code_parsed){ $(this).css({ "background-color": "#C0C0C0" }); $(this).find(".fa").css({ "color": "#ffffff" }); } }); }, 1000); });