ShadeRootFix Greasyfork

Top quality magical fix for Greasyfork

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

//
// Written by Glenn Wiking
// Script Version: 1.0.0b
// Date of issue: 18/02/16
// Date of resolution: 24/02/16
//
// ==UserScript==
// @name        ShadeRootFix Greasyfork
// @namespace   SRFGS
// @description Top quality magical fix for Greasyfork
// @include     *greasyfork.org*
// @version     1.0.0b
// @icon        https://i.imgur.com/srYVhZC.png

// ==/UserScript==

function ShadeRootFix_GF(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);
}

ShadeRootFix_GF (
	'html, body {background-color: #332E2E !important; color: #D8BDBD !important;}'
	+
	'a {color: #AD2424 !important;}'
	+
	'a:visited {color: #9B4545 !important;}'
	+
	'#main-header, #main-header a, #main-header a:visited, #main-header a:active {color: #FFE9E9 !important;}'
	+
	'.list-option-group {background-color: #4E2727 !important;}'
	+
	'pre, code, #code-container {background: #602414 !important; border: 1px solid #872A11 !important;}'
);