A lightweight Chrome/Edge browser extension (Manifest V3) that comprehensively removes YouTube Shorts from your browsing experience.
- 🚫 Hides Shorts shelf from the YouTube home feed and subscriptions
- 📌 Removes Shorts tab from the left sidebar
- 🔍 Removes Shorts from search results and channel pages
- ↩️ Redirects
/shorts/URLs back to YouTube homepage - 🔘 Enable/Disable toggle via the popup — no need to reinstall
- Download or clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer Mode (toggle in top-right)
- Click Load unpacked
- Select the
YouTube-shorts-blocker-extensionfolder - The extension icon will appear in your toolbar ✅
| Feature | Method |
|---|---|
| Hide Shorts UI elements | CSS injection + MutationObserver content script |
Block /shorts/ URLs |
declarativeNetRequest redirect rule |
| Enable/Disable toggle | chrome.storage.local + dynamic rule update |
YouTube-shorts-blocker-extension/
├── manifest.json # Extension manifest (MV3)
├── background.js # Service worker — manages redirect rules
├── content.js # Content script — hides Shorts DOM elements
├── rules.json # Static redirect rule for /shorts/ URLs
├── popup/
│ ├── popup.html # Toggle UI
│ ├── popup.css # Dark-themed styles
│ └── popup.js # Toggle logic
└── icons/
├── icon16.png
├── icon48.png
└── icon128.png
This extension does not collect, transmit, or store any personal data. It only reads YouTube page structure locally in your browser.
MIT