ShadeRoot Bol.com

Eye-friendly magic in your browser for bol.com

As of 2016-03-09. See the latest version.

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: 24/02/16
// Date of resolution: 25/02/16
//
// ==UserScript==
// @name        ShadeRoot Bol.com
// @namespace   SRBC
// @description Eye-friendly magic in your browser for bol.com
// @include     *bol.com/*
// @version     1.0.0a
// @icon		XX

// ==/UserScript==

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

ShadeRootBC (
	'html, body {background: #1D1919 !important;}'
	+
	'.constrain--light, .header-section--search {background-color: #0e1114 !important;}'
	+
	'.cookie-bar {border-bottom: 1px solid #0e1929 !important; background-color: #11222d !important; color: #bcd0d7 !important;}'
	+
	'.no-js .main-nav__item:active > .main-nav__link, .no-js .main-nav__item:hover > .main-nav__link {border-color: #0f242f !important;}'
	+
	'p {color: #bcd0d7 !important;}'
	+
	'.header-fixed .main-nav__link {border-color: #102539 !important;}'
	+
	'.header-fixed .main-nav__item--special .main-nav__link {background: #1E2B42;}'
	+
	'.header-fixed .main-nav__item {border-color: #0f2130 !important; background-color: #0f1520 !important;}'
	+
	'.main-nav__link, .main-nav__link span {color: #B7CFE7 !important;}'
	+
	'.header-fixed .main-nav {border-bottom: 1px solid #1f2f44 !important;}'
	+
	'.main-logo__svg {background-color: #3366CA !important; border-radius: 5px !important; padding: 2px !important;}'
	+
	'.marketing-banner {border-bottom: 1px solid #172839 !important;}'
	+
	'.header-fixed .large--is-visible {color: #36C !important; background: #000 !important;}'
	+
	'.header-fixed .is-locked .category-nav-btn, .header-fixed .is-open .category-nav-btn {color: #31312f !important; border-color: #0d151e !important; background: #193554 !important;}'
	+
	'#top_bar .top-bar__bdr {border-bottom: 1px solid #17283c !important;}'
	+
	'.search-input, .search-select {border-color: #243744 !important;}'
	+
	'.search_suggestions_completer {border: 1px solid #17232f !important; background: #142d47 !important;}'
	+
	'.search-input, .search-select {border-color: #243744 !important; background: #11222D !important;}'
	+
	'.search-select {background-color: #0f1520 !important; color: #3366CA !important;}'
	+
	'select {color: #B7CFE7 !important;}'
	+
	'.search-btn {border: 1px solid #112439 !important;}'
	+
	'#top_bar ul li a {color: #9bb2e1 !important;}'
	+
	'#top_bar ul li a:hover {color: #3366ca !important;}'
	+
	'.basket__btn-bg {border: 2px solid #0f53b9 !important; background: #3366ca !important;}'
);