A lightweight Chrome extension that cleans up the YouTube Home feed and sorts loaded video recommendations by view count.
- Sorts loaded Home recommendations by view count, highest first
- Optionally hides videos that are at least two years old
- Hides Shorts, promoted cards, shelves, topic chips, and other non-video blocks on the Home page
- Saves settings with Chrome sync storage
- Re-applies sorting when YouTube loads more recommendations
- Supports view-count parsing in several interface languages
The extension adds two switches to the YouTube header:
- Views — enables or disables sorting by view count
- 2y — hides videos published two or more years ago
Disabling Views only disables sorting. Feed cleanup remains active while the extension is enabled.
- Download or clone this repository.
- Open
chrome://extensionsin Chrome or another Chromium-based browser. - Enable Developer mode.
- Click Load unpacked.
- Select the repository folder containing
manifest.json. - Open or reload the YouTube Home page.
The extension runs as a Manifest V3 content script on youtube.com. It reads the metadata already rendered in recommendation cards, parses view counts, and reorders the existing DOM elements. It does not use the YouTube API and does not request additional recommendations.
The extension only sorts recommendations already loaded in the browser. It does not change YouTube's recommendation algorithm.
storage— saves the two extension settingshttps://www.youtube.com/*— runs the content script on YouTube
The extension does not contain analytics, external network requests, remote scripts, or a background service worker.
- Sorting applies only to the YouTube Home page.
- YouTube markup changes may require selector updates.
- Age filtering currently parses English, Russian, and Ukrainian date labels.
- Some East Asian abbreviated view-count formats may be parsed incorrectly.
- Items whose view counts cannot be detected are placed after recognized videos.
manifest.json— extension manifest and permissionscontent.js— sorting, filtering, controls, and YouTube navigation handlingstyles.css— switch styling and Home feed cleanup
Current version: 0.2.1