您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
默认的高度也太小了吧!
当前为
// ==UserScript== // @name 【哔哩哔哩】修改选集列表框高度 // @version 0.2.0 // @description 默认的高度也太小了吧! // @icon https://static.hdslb.com/images/favicon.ico // @match https://www.bilibili.com/video/* // @grant GM_addStyle // @grant GM_registerMenuCommand // @grant GM_setValue // @grant GM_getValue // @run-at document-start // @namespace https://github.com/AkagiYui/UserScript // @supportURL https://github.com/AkagiYui/UserScript/issues // @homepage https://github.com/AkagiYui // @author AkagiYui // @license MIT // ==/UserScript== /******/ (() => { // webpackBootstrap /******/ "use strict"; var __webpack_exports__ = {}; let maxHeight = GM_getValue("maxHeight", "340px"); GM_registerMenuCommand("修改高度值", function () { const userValue = prompt("请输入高度值:", maxHeight); if (userValue !== null) { maxHeight = userValue; GM_setValue("maxHeight", maxHeight); updateStyles(); } }); function updateStyles() { GM_addStyle(` .video-sections-content-list { height: auto !important; } .base-video-sections-v1 .video-sections-content-list { max-height: ${maxHeight} !important; } .multi-page-v1 .cur-list { max-height: ${maxHeight} !important; } `); } updateStyles(); /******/ })() ;
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址