Dark Mode Scrollbar

Umm, title.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

Advertisement:

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

Advertisement:

// ==UserScript==
// @name         Dark Mode Scrollbar
// @namespace    https://twitter.com/mandogy1
// @version      0.1
// @description  Umm, title.
// @author       mandogy
// @match      *://*/*
// @grant GM_addStyle
// @license MIT
// ==/UserScript==

(function() {

'use strict';

GM_addStyle('*::-webkit-scrollbar-thumb { background: #434343; border-radius: 16px; box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25), inset -2px -2px 2px rgba(0, 0, 0, .25) }');

GM_addStyle('*::-webkit-scrollbar { width: 16px; height: 16px }');

GM_addStyle('*::-webkit-scrollbar-track { background: linear-gradient(90deg, #434343, #434343 1px, #111 0, #111) } ');

})();