您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Customizable scrollbar for Gecko based browsers (Firefox) and blink based Chromium 121+.
/* ==UserStyle== @name Custom Scrollbars in Firefox 63/64+ and Chromium 121+ @namespace scrollbar-c-w @version 1.0.4 @description Customizable scrollbar for Gecko based browsers (Firefox) and blink based Chromium 121+. @author krystian3w @license CC-BY-SA-4.0 (https://creativecommons.org/licenses/by-sa/4.0/) @preprocessor less @var color bar "bar" #C1C1C1 @var color bg "background" #F1F1F1 @var select scrollbar-width "width almost size" ["auto","thin","none"] @var select scrollbar-select "width <select> size (may no longer works)" ["auto","thin","none"] @var select inherit "Change width all scrollbars" {yes: "inherit", no: "auto"} @var select simplebar "Disable glitching with Simplebar?" {yes: "none", no: "block"} // @compatible firefox Firefox 63 and 64+ // @compatible chrome Chromium 121+ based // @compatible Edge Edge 121+ // @compatible opera Opera 107+ ==/UserStyle== */ @-moz-document regexp("^(https?|moz-extension)\\:\\/\\/.*$") { &:root { scrollbar-face-color: @bar !important; scrollbar-track-color: @bg !important; scrollbar-color: @bar @bg !important; scrollbar-width: @scrollbar-width !important; * { scrollbar-width: @inherit !important; } } /* glitched on few firefox versions - may no longer needed */ select { &:not([multiple]):not([size]) { scrollbar-width: @scrollbar-select !important; } } div[class*="simplebar-track"][style*="visible"] { display: @simplebar; } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址