您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove the advertisement plus recolor a little bit
当前为
// ==UserScript== // @name Chess.com New // @namespace http://example.com // @description Remove the advertisement plus recolor a little bit // @include http://www.chess.com // @include http://www.chess.com/* // @include http://live.chess.com/* // @version 1 // @grant none // ==/UserScript== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle('div#body.clearfix {background: #7A4B4B !important;}'); addGlobalStyle('ul#nav.clearfix {background: #959520 !important;}'); addGlobalStyle('div.framed.bottom-10 {background: rgba(181, 216, 66, 0.81)}'); addGlobalStyle('input,textarea,select {color: green !important;}'); addGlobalStyle('div#main_bc {background: rgba(181, 216, 66, 0.81) !important;}'); //addGlobalStyle('div#advert_content {display: none !important;}'); $("div#advert_content").remove(); //$('body').css("background", "url(http://s3.postimg.org/4xq6qmnrn/Background1752_1168.gif) "); //function GM_addStyle( css ) //GM_addStyle(".boardContainer { color: white; background-color: black; } img { border: 0; }");