ShadeRoot Bol.com

Eye-friendly magic in your browser for bol.com

Stan na 09-03-2016. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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