Chess.com New

Remove the advertisement plus recolor a little bit

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name        Chess.com New
// @namespace   http://example.com
// @description Remove the advertisement plus recolor a little bit
// @include     http://www.chess.com
// @include     http://www.chess.com/* 
// @include     http://live.chess.com/*
// @version     1.2.0.1
// @grant       none
// ==/UserScript==



function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}


addGlobalStyle('div#body.clearfix {background: #7A4B4B !important;}');
addGlobalStyle('ul#nav.clearfix {background: #959520  !important;}');
addGlobalStyle('div.framed.bottom-10 {background:  rgba(181, 216, 66, 0.81)}');


//addGlobalStyle('input,textarea,select {color: green !important;}');



addGlobalStyle('input.timerin { color: rgba(49, 18, 51, 0.97) !important;background-color: rgba(146, 54, 54, 0)!important;}');

addGlobalStyle('.timerin {font-size:large !important;}');

addGlobalStyle('div#main_bc {background-image: url("http://s3.postimg.org/4xq6qmnrn/Background1752_1168.gif")  !important;}');
addGlobalStyle('div.bs.bs {background: none repeat scroll 0% 0% rgba(84, 105, 17, 0.64) !important;}');

addGlobalStyle('.adzone, .webzone {display: none !important;}');

addGlobalStyle('div#div-gpt-ad-1406590358007-2 {display: none !important;}');


addGlobalStyle('div.bs.bs { background: none repeat scroll 0% 0% rgba(102, 111, 74, 0) !important;}');


//addGlobalStyle('div#advert_content {display: none !important;}');


$("div#advert_content").remove();









//$('body').css("background", "url(http://s3.postimg.org/4xq6qmnrn/Background1752_1168.gif) ");

//function GM_addStyle( css )


//GM_addStyle(".boardContainer { color: white; background-color: black; } img { border: 0; }");