您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Elegant scrollbar style to all websites
// ==UserScript== // @name 优雅的滚动条 // @version 0.1 // @description Elegant scrollbar style to all websites // @author StarKWL // @match http://*/* // @match https://*/* // @grant none // @license MIT // @namespace https://greasyfork.org/users/936647 // ==/UserScript== (function() { const css = ` ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { opacity: 0; } ::-webkit-scrollbar-thumb { border-radius: 4px; background: #7D7D7D; } ::-webkit-scrollbar-thumb:hover { background: #979797; } ::-webkit-scrollbar-thumb:active { background: #8A8A8A; } `; const style = document.createElement('style'); style.textContent = css; document.head.appendChild(style); })();