Redirect Youtube Videos to the Embed Page
A browser extension that automatically redirects YouTube video and shorts pages to their embed equivalent, providing a cleaner viewing experience without distractions.
✅ Auto-redirect YouTube videos and shorts to embed pages
✅ Enable/Disable toggle - Quick on/off switch via extension popup
✅ Privacy Mode toggle - Choose between youtube-nocookie.com (private) or youtube.com (with login)
✅ Cross-browser support - Works on Chrome, Firefox, and other Chromium-based browsers
✅ Manifest V3 - Modern extension architecture with declarativeNetRequest API
✅ Persistent settings - Your preferences are remembered across browser sessions
The extension uses Manifest V3's declarativeNetRequest API to redirect:
youtube.com/watch?v=VIDEO_ID→youtube-nocookie.com/embed/VIDEO_ID(Privacy Mode ON)youtube.com/shorts/VIDEO_ID→youtube-nocookie.com/embed/VIDEO_ID(Privacy Mode ON)youtube.com/watch?v=VIDEO_ID→youtube.com/embed/VIDEO_ID(Privacy Mode OFF)youtube.com/shorts/VIDEO_ID→youtube.com/embed/VIDEO_ID(Privacy Mode OFF)
Click the extension icon to access settings:
- Toggle extension on/off instantly
- Privacy Mode - ON for no cookies/better privacy, OFF to maintain login state
# Build Chrome extension
make chrome
# Build Firefox extension
make firefoxThis project uses automated GitHub Actions workflows:
- Tag a release:
git tag v0.2.0 && git push origin v0.2.0 - Automatic builds: Creates Chrome/Firefox artifacts on GitHub releases
- Firefox publishing: Automatically uploads to Mozilla Add-ons (AMO)
- Chrome publishing: Manual upload to Chrome Web Store

