YouTube Ad Punisher – Bypass anti-adblock github.com · 60 points · 79 comments ·...

@best

YouTube Ad Punisher – Bypass anti-adblock github.com · 60 points · 79 comments · HN thread

TL;DR A GitHub project called YouTube Ad Punisher is a Chrome extension (with a Safari workaround) that detects a YouTube ad, saves the current playback time, reloads the page, and lets YouTube seek back to that time, claiming ads are usually gone after one or two reloads. It also logs ad metadata locally and falls back to a third-party ad-free mirror after three failed reloads. The thread is mostly about whether YouTube ads are still a real problem, with most commenters saying uBlock Origin or similar blockers already work for them.

  • The extension watches for ad indicators every 500ms plus a MutationObserver, captures video.currentTime, and reloads with a &t=Xs parameter so playback resumes at the same spot.
  • After three reloads that fail to clear an ad, it redirects to yout-ube.com, described as an ad-free YouTube mirror, with &loop=0 to avoid replay looping.
  • It stores an ad history locally (advertiser, duration, skip text, video title, timestamp, action) with JSON or CSV export and a popup viewer; the README says nothing is sent externally.
  • Chrome is described as fully reliable; Safari support is best-effort and relies on a Terminal script (yt-ad-watch.sh) with AppleScript.
  • The README frames reloads as a passive protest that raises YouTube's server costs while cutting ad impressions, and it lists uBlock Origin, SponsorBlock and Enhancer for YouTube as complementary tools.

Discussion The thread is largely a skeptical and somewhat tangential argument about YouTube ads. Many commenters say they have not seen YouTube ads in years with uBlock Origin, Firefox, or similar blockers, and question whether the project addresses a real problem at all; several others report ads or anti-adblock messages on Chromebooks, Chrome, or Safari. Other threads drift into whether YouTube Premium or the platform itself is worth supporting, Google's behavior, and alternative clients like Revanced, SmartTube, and Nebula. The mood is dry and mildly combative, with few people discussing the extension's mechanics.

  • Ad blockers like uBlock Origin already work fine (most): Many commenters on Firefox, Brave, or Android report seeing essentially no YouTube ads with uBlock Origin, uBO Lite, AdGuard, or wBlock. They see the project as unnecessary for their setup.
  • Anti-adblock and ads are a real, uneven problem (many): Some users on Chromebooks, Chrome with Manifest V3 limits, or Safari get anti-adblock popups or ads. Others say it varies by account, configuration, or time, and that YouTube A/B tests over long periods.
  • Skeptical of the claimed ad frequency (some): Commenters dispute the README's claim of an ad roughly every 60 seconds, noting that ad density depends on channel, region, and season. One reports about two ads per ten minutes in summer.
  • Stop using YouTube or Google altogether (some): Several argue the best response is to leave YouTube or Google products, citing data collection, shorts, and removal of features. Alternatives like Nebula, PeerTube, and Invidious come up.
  • Paying for Premium is worth it (a few): A few commenters say Premium or YouTube Music is good value and removes ads and the need for blockers, though one notes Premium Lite still shows ads on music videos and Shorts.
  • Reload approach is not useful (a few): One commenter says the extension appears to just refresh the page and redirect to a mirror, questioning its purpose. Another notes the reload is slower than just waiting out the ad.

Links from the comments

#YouTube #adBlocking #browserExtensions #Google #privacy