ShadeRoot PCoud

Eye-friendly magic in your browser for Twitch

Mint 2016.05.27.. Lásd a legutóbbi verzió

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

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