您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
chessComHideTacticsTimerClock
当前为
// ==UserScript== // @name Hides Chess.com Tactics Timer Clock // @namespace http://userstyles.org // @description chessComHideTacticsTimerClock // @author ceberous // @homepage https://creatitees.info // @include *://*.chess.com/tactics/* // @run-at document-start // @version 0.8 // ==/UserScript== var wDivClassesToHide = [ "tactic-timer-container" , "upgrade-to-remove-sidebar" ]; var wDiveIDsToHide = [ "special-upgrade-sidebar" , ]; function wHide() { var wElems = []; for ( var j = 0; j < wDivClassesToHide.length; ++j ) { var x11 = document.getElementsByClassName( wDivClassesToHide[ j ] ); if ( !x11 ) { continue; } if ( !x11[0] ) { continue; } for ( var i = 0; i < x11.length; ++i ) { wElems.push( x11[ i ] ); } } for ( var j = 0; j < wDiveIDsToHide.length; ++j ) { var x11 = document.getElementById( wDiveIDsToHide[ j ] ); if ( !x11 ) { continue; } wElems.push( x11 ); } for ( var j = 0; j < wElems.length; ++j ) { wElems[ j ].setAttribute( "style" , "visibility: hidden !important" ); } var no_text = document.getElementsByClassName( "info-label-label" ); if ( no_text ) { if ( no_text[ 0 ] ) { no_text[ 0 ].textContent="BlessRNG"; } } } (function() { wHide(); setTimeout( function() { wHide(); } , 1000 ); setTimeout( function() { wHide(); } , 2000 ); setTimeout( function() { wHide(); } , 3000 ); setTimeout( function() { wHide(); } , 4000 ); setTimeout( function() { wHide(); } , 5000 ); })();