Greasy Fork is available in English.
Home: collapse guide, 5 videos per row, hide Shorts. Watch: hide recommendations sidebar and center the player/content.
YouTube Layout Plus 是一个专门为桌面端 YouTube 设计的油猴脚本,目标很明确:减少无关干扰、提高首页信息密度、优化播放页的观看体验。
这个脚本目前主要处理两类页面:
默认将左侧导航切换为折叠状态,保留左上角三条杠按钮的正常展开/收起能力。
同时提升首页主内容区的信息密度,将推荐视频调整为每行 5 个,并隐藏 Shorts 模块,减少对正常长视频浏览的干扰。
自动隐藏右侧推荐视频侧栏,并将主播放器区域和正文内容居中显示。
这样可以让播放页的视觉重心更集中,减少“边看边被推荐流打断”的问题,尤其适合专注观看、学习、查资料和长时间播放。
这个脚本尽量不去重写 YouTube 的交互逻辑,而是只调整布局和可见性。
例如首页虽然默认折叠导航,但不会破坏原生的三条杠展开功能;播放页隐藏推荐栏后,也会同步调整主内容宽度和居中方式,避免页面出现大面积空白或错位。
YouTube 默认布局在桌面端越来越偏“推荐流驱动”,首页信息密度偏低,播放页右侧推荐也容易分散注意力。
这个脚本的目的不是做一套花哨改版,而是做一组非常实用的布局修正,让 YouTube 更适合高频、高效率地浏览和观看。
YouTube Layout Plus is a userscript for desktop YouTube focused on one goal: reducing distraction and improving layout efficiency.
The script currently improves two main areas:
It collapses the left navigation by default while keeping the original hamburger button fully functional.
It also increases content density by displaying 5 videos per row and hides Shorts sections to reduce interference from short-form content.
It hides the recommendation sidebar on the right and recenters the main player/content area.
This creates a cleaner and more focused viewing experience, especially for long-form videos, tutorials, interviews, and research-heavy browsing.
This script tries to modify layout without breaking core YouTube interactions.
For example, the homepage guide is collapsed by default, but the native hamburger button still works as expected.
On watch pages, the sidebar is hidden and the primary content is recentered to avoid awkward empty space.
Desktop YouTube has gradually become more recommendation-driven, with lower information density on the homepage and more distraction on watch pages.
This script is not meant to redesign YouTube completely. It is meant to make a few practical layout changes that improve efficiency and focus for everyday use.