Greasy Fork 还支持 简体中文。

Chess.com theme

Easyyyyyyy

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Chess.com theme
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Easyyyyyyy
// @author       You
// @match        https://www.chess.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    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('.tabs-tab:not(.tabs-active) {background-color: #0a1417  !important;}')
addGlobalStyle('body{ color:#040614 !important;}');
addGlobalStyle('body{ background-color:#040614 !important;}')
//Main color
addGlobalStyle('.dark-mode{--globalTertiaryBackground: #151621 !important;}')
//Tertiary is buttons
addGlobalStyle('.dark-mode{--globalSecondaryBackground: #151621 !important;}')
//Secondary is Play Button area and selected tab
addGlobalStyle('.dark-mode{--globalBackground: #0a1417 !important;}')
//Custom game selection box
addGlobalStyle('.dark-mode{--globalAccentBackground: #061d19 !important;}')
//nothing yet
addGlobalStyle('#sb{background-color: #151621  !important;}')
addGlobalStyle('#sb .nav-panel:not(.notifications) .shade {background-color:  #061d19  !important;}')
addGlobalStyle('#sb .popover.dark {background-color:#061d19 !important}')


//sidebar
})();