youtube-view-history

YouTube Watch History Pro

Automatically logs every YouTube video you see — feed, search, channel, Shorts, watch-next sidebar — so you can find them later. 100% local, no tracking.

screenshot

What it does

YouTube’s own history only records videos you clicked on. This extension logs every video that actually appeared in front of you — in the home feed, search results, on a creator’s channel, as a watch-next suggestion, or while scrolling Shorts. No more “I swear I saw a video about X last week.”

Browse YouTube normally. Click the extension icon to see the grid. Search by title or channel, filter by where the video came from, click a thumbnail to open it in a new tab.

Features

Privacy

No data leaves your device. Ever.

All history is stored locally using chrome.storage.local. The extension makes zero outbound network requests. Uninstalling removes everything.

See privacy-policy.md for details.

Install

Until the extension is live on the Chrome Web Store, you can load it manually:

  1. Clone or download this repo
  2. Open chrome://extensions
  3. Enable “Developer mode”
  4. Click “Load unpacked” → select this folder

How it works

No bundler, no runtime dependencies. Plain JS. MV3. npm test runs Node’s built-in test runner against three real captured ytInitialData fixtures (search results, channel page, watch page).

Known limitations

YouTube’s data shape evolves. The parser handles four renderer types observed on 2026-04-17, but YouTube may introduce new shapes over time. If detection breaks on a specific page, file an issue with the page URL.

The home feed on logged-out users is lazy-loaded and may return empty on first popup. Logged-in users get immediate results.

Contributing

Issues and PRs welcome.

License

MIT — see LICENSE.