Reddit's embedded player shows ads even when you pay for YouTube Premium. This Chrome extension puts a small "Open in YouTube" button on every Reddit post that links to a YouTube video, so one click takes you to youtube.com, where your normal signed-in session applies.
It works on new Reddit (www.reddit.com) and on old.reddit.com. Posts pulled in by infinite scroll get a button too, as do posts you reach through Reddit's in-page navigation. It recognises youtube.com/watch links, youtu.be short links, Shorts, Live, music.youtube.com and embed URLs, and it passes the original URL through untouched, so timestamps and other parameters survive.
Only link posts get a button. YouTube links in comments and self-text already send you to youtube.com, so there was never an ad problem there.
There's no build step and no store listing, so load it unpacked:
- Clone or download this repository.
- Open chrome://extensions in Chrome. Edge and Brave work too, on the same code.
- Turn on Developer mode, top right.
- Click Load unpacked and pick this repository's folder.
- Open a subreddit with video posts, such as r/videos.
It asks for nothing beyond running its content script on *://*.reddit.com/*. There's
no background service worker and no network access. The button is an ordinary link, so
nothing about your browsing leaves your machine.
| File | Purpose |
|---|---|
manifest.json |
MV3 manifest; registers the content script on reddit.com |
content.js |
Finds YouTube link posts and injects the button |
content.css |
Button styling, works in light and dark themes |
icons/ |
Extension icons |