Hides Chess.com Tactics Timer Clock

chessComHideTacticsTimerClock

目前為 2018-04-22 提交的版本,檢視 最新版本

// ==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 );
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址