NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Dark minimalistic scrollbar
// @update-url https://openuserjs.org/install/leyang/Dark_minimalistic_scrollbar.user.js
// @description Aqua Neon minimalistic scrollbar [Chrome/Opera][Custom colors]
// @author XenRon
// @run-at document-start
// @version 0.20160907135417
// @match *://*/*
// ==/UserScript==
(function() {var css = [
"::-webkit-scrollbar{",
" width: 10px!important;",
" height: 10px!important;",
"}",
"::-webkit-scrollbar-thumb{",
" background-color: rgba(0, 255, 255, 0.6)!important;",
" border: 2px solid #484848!important;",
" border-radius: 100px!important;",
"}",
"::-webkit-scrollbar-track{",
" background-color: transparent!important;",
"}",
"::-webkit-scrollbar-thumb:hover{",
" background: #00ffff!important;",
"}",
"::-webkit-scrollbar-thumb:active{",
" background: #181818!important;",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
})();