Top
Best
New

Posted by iantongeorge 6 hours ago

YouTube Ad Punisher – Auto-reloads YouTube pages when an ad plays(github.com)
231 points | 308 commentspage 2
munk-a 6 hours ago|
There seems to be other good ad-blocking tech available (even on mobile) but more advertising subversion is never a bad thing, especially if it leverages a different tactic.
charles-kuperus 3 hours ago||
And I'm using... Adblock for Youtube on Brave browser, including uBlock Origin, I haven't seen any trace of ads for a long time.

https://chromewebstore.google.com/detail/adblock-for-youtube...

adamtaylor_13 3 hours ago||
Wild to know this isn't just a fluke. I've been doing this for years. In fact the double-reload is ingrained in my brain. But I assumed it had to do with uBlock origin or my PiHole and not the actual ad server. Super interesting.
nomilk 5 hours ago||
> Traditional ad blockers get detected by YouTube's anti-adblock system. Skip buttons take 5 seconds to appear. You sit there, hostage.

I use uBlock Origin Lite and haven't seen that waiting screen for over a year (and no YT ads, ever).

o_-_o 4 hours ago||
#1. You need to first configure your Firefox with hardened user.js

#2. Install uBlock0 and check/update ALL lists (don't use just default).

Result: No issues EVER on any website.

bemtevi 4 hours ago||
I hate ads like everyone else. But I'm just going to put this out there that I'm a YouTuber, fairly poor, and I make enough on YouTube ads to put a little extra food on the table and pay some bills. So for those engineers making six figures and talking about ad blocking, something to think about.

Hey, I don't judge for blocking ads. But if you're going to do it, consider a subscription to YouTube.

I also disable all mid-roll ads and disable ads about gambling, weight loss, and other stuff I consider unethical.

Ylpertnodi 27 minutes ago|
What you consider unethical ads, many others do, too. That's why all ads are blocked dor many people. I tried ads for a while, but try finding Steve Hilllage's Rainbow Dome Musick. And have a fucking Barilla Pasta ad whack you 1/3 of the way through. Sorry, you are not owed a living by me.
5555watch 6 hours ago||
Is there a good solution on Safari? Whatever I've tried personally, needs at least one page refresh. E.g., first load of a video throws an error, and a refresh shows a no-ads video. It's fine, makes me watch less videos, but still would be nice to have a smoother experience.
veloxo 5 hours ago||
wBlock seems to be working well. It has replaced AdGuard and uBlock Origin Lite for me, where I sometimes encountered that issue. https://apps.apple.com/us/app/wblock-ad-blocker-for-safari/i...
nervai 5 hours ago|||
AdGuard has worked fine for me. No refreshes, never see youtube ads.
latexr 3 hours ago||
Several. I’ve had success with 1Blocker, Wipr, and uBlock Origin Lite. My recommendation is Wipr, it can also block system-wide.
JackFener 6 hours ago||
> YouTube serves an ad roughly every 60 seconds. You can't watch one minute of content without being interrupted by a commercial.

This is absolutely not true.

This repo does nothing, just refreshes the page and if it fails it redirects you to a YouTube mirror. What's even the point of using it?

andrewl-hn 4 hours ago||
> This is absolutely not true.

The number of ads depends on location and inventory. If I watch YT without a blocker in my area in summer I get about two ads per 10 minutes. But in December? Every local restaurant decides they want people to celebrate Christmas with them so it's 5 ads every 7-8 minutes.

When I'm in a large city I get more ads, too.

iantongeorge 4 hours ago||
Fair on the 60-second line — that was a bad generalisation. Ad density is channel-dependent; I should have said that in the README (fixing it).

The extension is not an ad blocker, it is a punisher: it detects the ad overlay before the skip button appears, grabs your exact playback position, and reloads with the timestamp so YouTube seeks back to your spot. That is the whole trick — you never sit through the ad and you do not lose your place. There is a cooldown so it cannot reload-loop, and a local ad-history popup so you can see what it caught. Nothing leaves your browser.

You are right that on Firefox with uBlock Origin + SponsorBlock you do not need this. I built it for Chrome/MV3 and locked-down browsers (Chromebook, Safari) where the blockers get detected or cannot run. If uBlock works for you, keep using uBlock — this is for the cases where it does not.

dang 4 hours ago||
Your comment here was killed by our software because they've been classified as genai text, which is not allowed on HN itself (see https://news.ycombinator.com/newsguidelines.html#generated and https://news.ycombinator.com/item?id=47340079).

(It's fine, of course, to use AI tools—we use them ourselves. Just please don't use them to generate or edit text to be read by fellow humans on Hacker News.)

It's impossible to know for sure what was LLM generated or edited, but we have to rely on imperfect classifiers or else the site would be completely flooded by genai text, which is not what the community here wants to read, nor in the intended spirit of HN.

Always42 2 hours ago||
Brave for phone Grayjay for Mac
Ylpertnodi 35 minutes ago|
> Brave ..is, of late, turning into bloated slop.

I'd rather have yt ads than have to turn off 70% of the bloat it comes with nowadays.

I'm considering the paid, 'slimmed-down' version, but I'm yet to be convinced. The phone version is better, though gurgles new developer/ register bs puts me off, just as much. Dirty, shitty choices from people (tech-heads) that should know better.

Should be called 'enshitelement'.

amelius 5 hours ago|
Anyone else having problems playing Youtube videos in Firefox on Linux?

I always _have_ to reload, otherwise my videos won't even play.

tsukurimashou 5 hours ago||
yeah same issue on linux (windows too) firefox + ublock origin, often the video is stuck on the first load and I have to refresh, the video also takes a while to start playing which can be annoying
aweiher 5 hours ago|||
I never have this problem on linux (ubuntu something)

But I have a similar problem on mobile: after some time I cant play any video (yt, reddit, whatever, ..). Then I have to kill firefox and restart, then it works again.

michaelsalim 5 hours ago||
Oh, i actually have something similar. I find that it doesn't happen on all situations though. I think mostly on new tabs. And if you wait long enough, i think it can play eventually.
More comments...