YouTube Shorts Blocker

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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! 🧘‍♂️