您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Jose Enrique Ayala Villegas
// ==UserScript== // @name BOD Style // @namespace http://tampermonkey.net/ // @version 1.1 // @description Jose Enrique Ayala Villegas // @author You // @match https://bod.bodmillenium.com/E2F-BIN/E2VCNR01.PGM // @grant none // ==/UserScript== (function() { document.onselectstart = function(){ return false;}; document.onmousedown = function(e){ if(e.target.className == 'boxtecla'){ e.target.firstChild.style.color = "yellow"; e.target.style.backgroundColor = "green"; } else if(e.target.className == 'boxtecla_txt'){ e.target.parentNode.style.backgroundColor = "green"; e.target.style.color = "yellow"; } }; document.onmouseup = function(e){ if(e.target.className == 'boxtecla'){ e.target.firstChild.style.color = ""; e.target.style.backgroundColor = ""; } else if(e.target.className == 'boxtecla_txt'){ e.target.parentNode.style.backgroundColor = ""; e.target.style.color = ""; } }; document.onmouseout = document.onmouseup; })();