ShadeRootFix Greasyfork

Top quality magical fix for Greasyfork

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το 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.

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

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