Hides Chess.com Tactics Timer Clock

chessComHideTacticsTimerClock

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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.9
// ==/UserScript==
var wDivClassesToHide = [
	"tactic-timer-container" ,
	"upgrade-to-remove-sidebar",
        "icon-circle-stop"
];
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 );
})();