Hide YouTube videos that don't match your duration range or contain blocked keywords in the title.
- Set minimum and maximum duration in seconds.
- Block by title keywords (case-insensitive, comma-separated).
- Option to hide items with unknown duration (LIVE, Shorts).
- Works across home, search, channel, playlist, and sidebar suggestions.
- Auto-filters as more videos load (infinite scroll).
- Open
chrome://extensions
(or Edge:edge://extensions
). - Toggle Developer mode.
- Click Load unpacked and select the
youtube-filter/
folder. - Open YouTube and adjust settings from the toolbar popup.
- Unknown durations (LIVE, Shorts, some premieres) can be hidden via the checkbox.
- Filtering checks video titles only; expand keywords for broader coverage as needed.
- This is a client-side UI filter: it hides elements in your view; it doesn't change YouTube recommendations server-side.
- If filtering seems off after navigation, toggle a setting in the popup to trigger a refresh.
- Make sure the extension is enabled and you’re on
youtube.com
.
youtube-filter/ ├─ assets/ │ ├─ icon128.png │ ├─ icon16.png │ └─ icon48.png ├─ popup/ │ ├─ popup.css │ ├─ popup.html │ └─ popup.js ├─ src/ │ └─ content.js ├─ background.js ├─ manifest.json └─ README.md