YouTube Shorts Blocker

Hides all Shorts sections from YouTube (homepage, sidebar, etc.)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Syntax-Surfer-1
日安装量
0
总安装量
25
评分
0 0 0
版本
1.0
创建于
2025-06-20
更新于
2025-06-20
大小
1018 字节
许可证
暂无
适用于

🚫 YouTube Shorts Blocker

This userscript removes YouTube Shorts from your homepage and sidebar, giving you a cleaner, distraction-free experience.


✅ Features

  • ✂️ Removes the Shorts section from the YouTube homepage
  • 🧼 Hides the Shorts button in the left sidebar
  • 🔄 Works dynamically as the page loads new content
  • ⚡ Lightweight and fast — runs instantly without slowing your browser

📸 Screenshots

🔴 Before

Homepage with Shorts clutter:

Before - Homepage Shorts


✅ After

No Shorts on homepage:

After - Clean Homepage


🛠 How It Works

This script looks for YouTube elements that mention "Shorts" (both in the homepage feed and sidebar), and removes or hides them automatically. It uses a MutationObserver to ensure it also works with dynamically loaded content (like infinite scrolling).


📌 Requirements

  • Install a userscript manager like Tampermonkey or Violentmonkey
  • Supports Chromium-based browsers (Chrome, Edge, Brave) and Firefox

👨‍💻 Author

Syntax-Surfer-1GitHub


💬 Feedback

If you find any Shorts slipping through or want features like blocking Shorts in search results, feel free to request it via the GreasyFork feedback section.

Enjoy a peaceful YouTube! 🧘‍♂️