Eye-friendly magic in your browser for Twitch
Versão de:
//
// 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;}'
);