Osegi
Software·2 min read

YouTube Ad Punisher reloads the page to dodge ads

A new open-source Chrome extension called YouTube Ad Punisher skips YouTube ads by reloading the page and resuming your video at the exact second you left off.

A YouTube video player in a Chrome browser with a reload arrow over an ad overlay.
Image: Хабр

The trick behind YouTube Ad Punisher is almost embarrassingly simple: when an ad shows up, reload the page. The new open-source Chrome extension does that for you, and YouTube drops you back at the spot where you were watching.

The author says the idea came from frustration. Ad frequency varies by channel, some show ads right at the start and others show none. Classic ad blockers often get caught, and YouTube answers with a message saying ad blockers are not allowed. The Skip button only appears after a few seconds, so you sit there waiting. The author's fix: just reload, and after a refresh or two the ad is gone.

How does YouTube Ad Punisher work?

When an ad starts, the extension records your current playback position and reloads the tab. YouTube restores that position on its own. According to the project, one or two cycles are usually enough. After three reloads, the extension also switches to a helper tab for four seconds and then returns, so you don't have to swap tabs by hand.

Live streams are handled differently. The page gets a plain reload, and your playback position is not kept.

What else does it do?

The extension keeps a database of the ads it meets: the advertiser, the duration, the text on the skip button, the video and the moment the ad appeared. Click the extension icon to see statistics, a list of top advertisers and the full history. You can export everything as JSON or CSV.

Is it safe?

The extension asks only for access to browser storage and tabs, and it runs only on YouTube domains, according to the author.

The same ecosystem has produced other workarounds. A developer known as ThisGuyCodes earlier released Stream Tube, an open-source YouTube client for Windows, Linux and macOS written in Rust. It blocks ads, needs no extensions, brings back dislikes and uses very little RAM while playing videos.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:youtubechrome extensionad blockingopen sourcestream tube

More from this day

See all →

More in: Software

See all →