Greasy Fork is available in English.
Home: collapse guide, 5 videos per row, hide Shorts. Watch: hide recommendations sidebar and center the player/content. Adds a topbar theme switcher that triggers YouTube's official Appearance modes.
当前为
YouTube Layout Plus 是一个专门为桌面端 YouTube 设计的油猴脚本,目标很明确:减少无关干扰、提高首页信息密度、优化播放页的观看体验,同时让常用界面操作更顺手。
这个脚本目前主要处理三类体验:
默认将左侧导航切换为折叠状态,保留左上角三条杠按钮的正常展开/收起能力。
同时提升首页主内容区的信息密度,将推荐视频调整为每行 5 个,并隐藏 Shorts 模块,减少对正常长视频浏览的干扰。
此外,首页顶部的分类切换标签也进行了重新设计:
将原本松散的标签样式改成更紧凑的“连体标签栏”风格,视觉上更统一,切换时更清晰,并适配亮色与暗色模式。
自动隐藏右侧推荐视频侧栏,并将主播放器区域和正文内容居中显示。
这样可以让播放页的视觉重心更集中,减少“边看边被推荐流打断”的问题,尤其适合专注观看、学习、查资料和长时间播放。
在顶部 Logo 附近加入了一个轻量的三段式主题切换开关:Auto / Light / Dark。
这个开关不是自行模拟主题,而是直接调用 YouTube 官方的 Appearance 功能,因此行为和原生设置保持一致。
这样可以在不打开账户菜单的情况下,快速切换:
Auto / Light / Dark 三段式主题切换开关Appearance 功能实现这个脚本尽量不去重写 YouTube 的核心交互逻辑,而是优先调整布局、可见性和操作入口。
例如:
Auto / Light / Dark 快速切换主题YouTube 默认布局在桌面端越来越偏“推荐流驱动”,首页信息密度偏低,播放页右侧推荐也容易分散注意力。
同时,一些常用设置入口过深,比如亮色 / 暗色模式切换必须进入账户菜单后再点进二级菜单。
这个脚本的目的不是做一套花哨改版,而是做一组非常实用的布局修正和操作优化,让 YouTube 更适合高频、高效率地浏览和观看。
YouTube Layout Plus is a userscript for desktop YouTube focused on one goal: reducing distraction, improving layout efficiency, and making frequent actions easier to access.
The script currently improves three 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.
In addition, the top category chips are visually redesigned into a more connected, compact tab-bar style.
This makes the filter row cleaner, easier to scan, and better integrated with both light and dark mode.
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.
A lightweight three-way theme switcher is added near the top logo: Auto / Light / Dark.
This switcher does not fake theme behavior on its own.
Instead, it directly triggers YouTube’s official Appearance options, so it stays aligned with native behavior.
This makes it much easier to switch between:
without opening the account menu every time.
Auto / Light / Dark segmented theme switcherAppearance behavior for theme switchingThis script tries to improve layout and usability without breaking core YouTube interactions.
For example:
Auto / Light / Dark switcher can be used directly without opening the account menuDesktop YouTube has gradually become more recommendation-driven, with lower information density on the homepage and more distraction on watch pages.
At the same time, some common actions, such as switching between light mode, dark mode, and system theme, are buried too deeply in the account menu.
This script is not meant to redesign YouTube completely.
It is meant to make a set of practical layout and usability improvements that make YouTube more efficient, focused, and comfortable for everyday desktop use.