Hides Chess.com Tactics Timer Clock

chessComHideTacticsTimerClock

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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