您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
我的bilibili优化脚本
当前为
// ==UserScript== // @name bilibili优化 // @namespace https://binger.cc/ // @version 0.1 // @description 我的bilibili优化脚本 // @author Ervoconite // @match https://*.bilibili.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // ==/UserScript== (function () { 'use strict'; // alert("debug"); /** @description 个人空间——⭐收藏 */ if (location.hostname.contains("space.bilibili.com") && location.pathname.endsWith("favlist")) { document.querySelector("style").innerHTML += ` #page-fav .fav-main{width:800px!important} #page-fav .fav-main .small-item{width:170px!important} #page-fav .fav-main .small-item:nth-child(5n){margin-right:inherit!important} #page-fav .fav-main .fav-action-bottom .fav-action-fixtop{width:800px!important;} #page-fav .fav-sidenav{width:300px!important} #page-fav .fav-sidenav .text{line-height:33px!important;width:180px!important} #page-fav .fav-sidenav .fav-list-container{max-height:none!important} @media (min-width:1420px){ #page-fav .fav-main{width:980px} } /* #page-fav .fav-list>li:nth-child(odd){background:whitesmoke!important;} */ #page-fav .fav-sidenav > div:nth-child(2){background:aliceblue!important;} #page-fav .modal-wrapper .target-favlist{max-height:80vh!important;} #page-fav .modal-wrapper .target-favitem{height:unset!important;margin:.5em!important;} #page-fav .modal-wrapper .fav-meta{display:flex!important;} #page-fav .modal-wrapper .fav-meta .fav-state{margin-left:20px!important;} `; setTimeout(() => { document.querySelector("#page-fav div.fav-sidenav > " + "div:nth-child(2) > div.favlist-title").click(); }, 1000); } })();