Scribe.rip Dark Scrollbar

Dark Scrollbar for Scribe.rip (it probably has one already but Chrome is not getting it, this is my scotch tape fix for it)

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!)

// ==UserScript==
// @name         Scribe.rip Dark Scrollbar
// @namespace    test
// @version      1.0
// @match        *://scribe.rip/*
// @run-at       document-start
// @license      Unlicense
// @description Dark Scrollbar for Scribe.rip (it probably has one already but Chrome is not getting it, this is my scotch tape fix for it)
// ==/UserScript==

(function () {
    "use strict";

    const css = `
        ::-webkit-scrollbar {
            width: 12px;
            height: 12px;
        }
        ::-webkit-scrollbar-track {
            background: #111;
        }
        ::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 8px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #666;
        }
    `;

    const style = document.createElement("style");
    style.textContent = css;
    document.documentElement.appendChild(style);
})();