AI Weekly Malaysia

Back to items Summaries

YouTube Ad Punisher – Auto-reloads YouTube pages when an ad plays

ID
50668
Status
summarized
Published
27 Nov 2026, 1:36 AM
Fetched
27 Nov 2026, 3:57 PM
Provider
Hacker News
Category
dev-community
Original URL
https://github.com/antonpictures/youtube-punisher
Source URL
https://hnrss.org/best

Summary

Score
6.0
Created
27 Nov 2026, 3:57 PM
Tags
Audience
developersvibe_coderssaas_founders

What happened

YouTube Ad Punisher is an MIT-licensed Chrome extension (Manifest V3, 164 stars, 23 commits) that detects when a YouTube ad starts, captures the exact playback timestamp, reloads the page, and relies on YouTube auto-seeking back to that position — so no skip-button hunting and no anti-adblock detection. If three reloads fail, it switches to a helper tab for 4 seconds (exploiting Chrome's background-tab throttling to let the ad state settle) and then back, or falls back to the ad-free mirror yout-ube.com. It drew 353 points and 422 comments on Hacker News.

Why it matters

The reusable insight for anyone shipping browser extensions is the background-tab throttling trick: switching away for ~4 seconds is what the author says reliably clears the ad state after reloads stop working, which is a concrete Manifest V3 debugging pattern, not just an ad-blocking hack. For founders, the 422-comment thread is evidence of how far users will go to avoid pre-roll ads — worth weighing if your product or content strategy leans on ad-funded viewing.

Discussion angle

Is the reload-plus-timestamp trick a genuinely clever engineering workaround or a fragile cat-and-mouse game that breaks the moment YouTube changes its resume behaviour — and does the same tab-throttling trick help or bite you in your own extension work?

Top