Hide Shorts shelves + community/posts on YouTube Home. Robust for dynamic loading.
这个脚本是做什么的?
这是一个用来隐藏 YouTube 首页上 Shorts(短片/短裤)区块,以及**社区/帖子(类似动态/快速发布内容)**的小工具。
开启后,你的首页会更清爽,少一些你不想看的内容,浏览更专注。
适合谁用?
不想在首页看到 Shorts 的人
只想看普通视频推荐的人
希望页面更干净、减少干扰的人
它怎么工作的?(简单说)
YouTube 首页内容会不断“自动加载”,所以这个脚本会在页面出现新内容时,自动把 Shorts 和帖子区块隐藏掉。
不需要你手动点来点去,一开就生效。
主要特点
✅ 清爽:隐藏目标内容,不占位置
✅ 自动:动态加载也会继续隐藏
✅ 省心:只针对主页,不影响你正常看视频
✅ 更快:尽量少做多余动作,不卡顿
使用方式(超简单)
安装浏览器扩展:Tampermonkey / 油猴
添加脚本并启用
打开 YouTube 首页即可生效
提醒:YouTube 会更新页面结构,如果哪天又看到 Shorts 出现,只要更新脚本规则就能继续隐藏。
What does this script do?
This is a small script that hides Shorts sections and community/post cards on the YouTube Home page.
It helps keep your homepage clean and focused, so you see fewer distractions and more regular video recommendations.
Who is it for?
People who don’t want Shorts on the homepage
Anyone who prefers normal video recommendations
Users who want a cleaner, calmer browsing experience
How it works (in plain words)
YouTube Home updates itself and loads content dynamically.
This script simply keeps removing/hiding Shorts and post sections whenever they appear, so you don’t have to do it manually.
Key Features
✅ Clean: hides target sections without leaving blank space
✅ Automatic: works even when new content loads
✅ Safe for browsing: focuses on Home page cleanup
✅ Fast: avoids heavy processing to stay smooth
How to use
Install Tampermonkey (userscript manager)
Add and enable the script
Open YouTube Home — done
Note: YouTube may change its layout sometimes. If Shorts reappear, updating the script rules usually fixes it.