您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
给B站英雄联盟直播页添加滚动条
// ==UserScript== // @name B站英雄联盟直播页滚动条 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 给B站英雄联盟直播页添加滚动条 // @author You // @match https://live.bilibili.com/6* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // @license Apache 2 // ==/UserScript== (function() { 'use strict'; document.styleSheets[0].insertRule('body{overflow-x:hidden}', 0) document.styleSheets[0].insertRule('body::-webkit-scrollbar{display: initial !important;width:4px;/*background-color:#f5f5f5*/}', 0) document.styleSheets[0].insertRule('body::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);background-color:#62626d}', 0) //document.styleSheets[0].insertRule('body::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);background-color:#555}', 0) //document.styleSheets[0].insertRule('body::-webkit-scrollbar-track{border-radius:10px;-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);background-color:#f5f5f5}', 0) //document.styleSheets[0].insertRule('body::-webkit-scrollbar-button:single-button:vertical:decrement{border-radius:10px;-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);background-color:#f5f5f5}', 0) //document.styleSheets[0].insertRule('body::-webkit-scrollbar-button:single-button:vertical:increment{border-radius:10px;-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);background-color:#f5f5f5}', 0) })();