A Chromium extension that gives YouTube a persistent queue. It survives tab closures and browser restarts, and works across all your YouTube tabs.
- Queue persists across browser sessions
- Changes sync automatically between all open YouTube tabs
- Integrated directly into YouTube's UI, not a separate popup
- Click a row to play; the queue auto-advances when a video ends
- Add videos from Home, Search, Subscriptions, and watch recommendations via the three-dot menu
- Drag to reorder, or use the per-row overflow menu (Move up, Move down, Remove)
- Shows duration and channel name when available
- Follows YouTube's light and dark mode
- Completed entries are dimmed and labeled Watched; use Clear watched to remove them
- Automatically remove finished videos is an optional saved checkbox, off by default
- Duplicate videos are kept as separate entries
- Completely independent from YouTube's native queue
- Clone the repo and build:
npm ci npm run build
- Open
chrome://extensions(or your Chromium browser's equivalent). - Enable Developer mode.
- Click Load unpacked and select the
.output/chrome-mv3/directory.
After rebuilding, click Reload on the extension's card.
- Browse YouTube normally.
- Open any video's three-dot menu and choose Add to persistent queue.
- The queue appears in the right sidebar on watch pages, or as a collapsible panel in the bottom-right on browsing pages.
- Click a row to play that video. The queue auto-advances when a video finishes.
- Hover a row for the ⋮ menu (Move up, Move down, Remove), or drag rows to reorder.
- Collapse the panel to a mini bar showing what's next.
- Close the browser, come back later. Your queue is still there.
Watched status applies to each queue occurrence only after its queued playback finishes; it does not use YouTube watch history. Enabling auto-remove applies to future completions and leaves previously watched entries alone. Clearing the queue preserves the preference. At the end, auto-remove stops without playing an earlier entry.
If the panel shows an error, press Refresh to retry. The panel keeps your last valid queue visible until recovery succeeds.
After reloading the extension, refresh any open YouTube tabs.
- Queue state lives in extension storage, so it survives tab closures and browser restarts.
- Storage change events propagate mutations to every open tab without polling.
- A content script watches YouTube's SPA navigation and mounts the queue panel into each page.
- The content script also watches the player. When a queued video ends, it tells the background service worker to advance.
- The extension maintains its own state and never touches YouTube's native queue.
| Browser | Status |
|---|---|
| Chrome | Primary target |
| Helium | Primary target |
| Edge | Expected to work, not regularly tested |
| Brave | Expected to work, not regularly tested |
Firefox is not supported. Other Chromium-based browsers may work where compatible.
Remaining milestones before V1:
- Multi-tab playback ownership, so only one tab advances the queue
- Hardening and release: edge cases, accessibility, polish, broader browser testing
Post-V1 ideas include multiple named queues, import/export, keyboard shortcuts, and Firefox support.
- Shorts, channel pages, and playlist/mix cards are not supported for adding.
- The signed-in Subscriptions feed has not been verified (the signed-out layout works).
- Reopening the browser restores the queue and position but does not start playback.
- Multiple tabs can independently advance the queue until multi-tab ownership is implemented.
- Live streams and premieres show no duration badge.
- After updating the unpacked extension, existing YouTube tabs need a refresh.
npm ci # install dependencies
npm run dev # start WXT dev mode (opens YouTube)
npm run check # typecheck + build + test
npm run build # production build → .output/chrome-mv3/
npm test # build, then run testsTo use Helium or another browser binary, create a gitignored web-ext.config.ts:
import { defineWebExtConfig } from 'wxt';
export default defineWebExtConfig({
binaries: { chrome: 'C:/path/to/browser.exe' },
});For project docs, specs, and task tracking, see the docs/ directory and TASKS.md.
