您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Bilibili Tune: longer and wider video list, ...
// ==UserScript== // @namespace ATGT // @name Bilibili Tune // @description Bilibili Tune: longer and wider video list, ... // @version 2 // @license MIT // @match https://www.bilibili.com/video/* // @icon https://www.bilibili.com/favicon.ico // @grant none // @run-at document-end // ==/UserScript== //alert("hello"); console.log("++++++ bilibili-tune"); function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } let tuneFunc = async function () { const start = Date.now(); const height = "600px"; console.log("bilibili-tuneFunc start", start/1000); while (Date.now() - start < 5000) { let vlist = document.querySelector(".base-video-sections-v1 .video-sections-content-list"); // console.log("bilibili-tune vlist", vlist); if (vlist) { vlist.style.maxHeight = height; vlist.style.height = height; let videos = document.querySelectorAll(".base-video-sections-v1 .video-section-list .video-episode-card__info-title"); // console.log("bilibili-tune videos", videos); for (let v of videos) { v.style.width = "auto"; } } await sleep(500); } console.log("bilibili-tuneFunc end", start/1000); } tuneFunc(); window.addEventListener('popstate', tuneFunc); window.addEventListener('pushstate', tuneFunc); console.log("------ bilibili-tune");
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址