您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
bilibili关注分组列表完全展开
// ==UserScript== // @name bilibili关注分组完全展开 // @namespace http://tampermonkey.net/ // @version 1.0.2 // @description bilibili关注分组列表完全展开 // @author Y_jun // @match https://space.bilibili.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // @license MIT // ==/UserScript== 'use strict'; function change() { if (location.pathname.includes('/fans')) { let iv2 = setInterval(() => { let leftBar = document.querySelector('.follow-sidenav'); if (leftBar) { let followBar = leftBar.querySelector('.follow-container'); let fanBar = leftBar.querySelector('.topic-container'); leftBar.insertBefore(fanBar, followBar); let followList = followBar.querySelector(".follow-list-container"); followList.style.maxHeight = 'none'; let followScroll = followBar.querySelector(".ps__rail-y"); if (followScroll) followScroll.remove(); clearInterval(iv2); } }, 200); } } addEventListener("load", () => { change(); let iv = setInterval(() => { const targetDiv = document.querySelector('.s-space'); if (targetDiv) { const observer = new MutationObserver((mutationsList) => { for (let mutation of mutationsList) { if (mutation.type === 'childList') { change(); } } }); observer.observe(targetDiv, { childList: true }); clearInterval(iv); } }, 200); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址