ShadeRoot PCoud

Eye-friendly magic in your browser for Twitch

Versione datata 27/05/2016. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

//
// Written by Glenn Wiking
// Script Version: 1.0.0a
// Date of issue: 27/05/16
// Date of resolution: 27/05/16
//
// ==UserScript==
// @name        ShadeRoot PCoud
// @namespace   SRPC
// @include     *.pcloud.*
// @description Eye-friendly magic in your browser for Twitch
// @version     1.0.0
// @grant       none
// @icon		http://i.imgur.com/6wROLhZ.png
// ==/UserScript==

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

ShadeRootPC (
	'html {display: none !important;}'
	+
	'.main {background-color: #111A1B !important;}'
	+
	'.lnav, .download-clients, .leftline {background-color: #3B4242 !important;}'
	+
	'.spacen {border-top: 1px solid #2D363B !important;}'
	+
	'.errorBox {background-color: #A0C0CF !important; border-color: #3967B9 !important;}'
);