A solution in Bilibili Directory Width
Tampermonkey脚本,可点击该链接查看~
Bilibili视频选集标题显示完整
I start an open-sourced project in Tampermonkey, which sounds so cool, isn’t it?
I have been learning about Java in the atguigu, which is one of the most popular Java-Learning online courses in
Bilibili.
A problem struck me that the titles of hundreds of episodes are incomplete when viewing a separate video in collection.
I try to find an appropriate method for adopting the size of every title in their line.
So I write a script in Tampermonkey to solve this problem.
// ==UserScript==
// @name Bilibili视频选集标题显示完整
// @namespace http://tampermonkey.net/
// @version 0.3
// @description 让标题显示完整~try to change Bilibili Directory Width!
// @author HitLittleFox
// @license AGPL-3.0
// @match *://www.bilibili.com/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
var changeDirectoryWidth = document.querySelector(".multi-page .cur-list .list-box")
changeDirectoryWidth.style.width = "fit-content"
})();
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达,可以邮件至 963614756@qq.com。