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.6
// ==/UserScript==
var wDivClassesToHide = [
"tactic-timer-container" ,
"upgrade-to-remove-sidebar"
];
function wHide() {
for ( var j = 0; j < wDivClassesToHide.length; ++j ) {
var x11 = document.getElementsByClassName( wDivClassesToHide[ j ] );
if ( !x11 ) { return; }
if ( !x11[0] ) { return; }
for ( var i = 0; i < x11.length; ++i ) {
x11[ i ].setAttribute( "style" , "visibility: hidden !important" );
}
}
}
(function() {
wHide();
setTimeout( function() { wHide(); } , 1000 );
setTimeout( function() { wHide(); } , 2000 );
setTimeout( function() { wHide(); } , 3000 );
setTimeout( function() { wHide(); } , 4000 );
setTimeout( function() { wHide(); } , 5000 );
})();