Youtube Home/Subs - Set videos per row

Allows you to set the number of videos/thumnails per row in the youtube grid system on Home and Subscriptions pages.

当前为 2025-04-22 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
1N07
评分
0 0 0
版本
0.1
创建于
2025-04-22
更新于
2025-04-22
大小
2.9 KB
许可证
Unlicense
适用于

Youtube - Set videos per row

Simple userstyle that lets you set how many videos per row you'd like to see on your YT Home/Subs page.

"720p: Videos per row" - These options kick in when the viewport (your browser window) width is at least 1280px.
I'm using 720p (i.e. the corresponding height for 1280 in 16:9 ratio) in the description, because that is the more well known number, but in actuality, only the width matters here)
"1080p: Videos per row" - These kick in when the viewport width is at least 1920px
...and so on.

Why so many separate settings?

So that the number of videos per row, and therefore their size, can be dynamic.
5 videos per row might work for 1080p, but then if you dock the window to half the monitor for example, 5 videos per row is a bit much (the videos get small to fit 5 in)
Of course, there are much better ways to make this more dynamic and responsive, but that involves much more work and is more prone to breaking when YT constantly changes stuff. I might take that challenge on at a later date. We'll see.