Lurker News
Hi HN!

Since Youtube no longer allows AdBlockers, I built my own extension to get around their video ads. If there is an ad it temporarily manipulates the video; Mutes the volume, sets speed to 10x, and skips it if there is a button.
Chrome Webstore link: https://chromewebstore.google.com/detail/ad-accelerator/gpbo...
Code: https://github.com/rkk3/ad-accelerator

Comments (710) 75 threads

Show all comments

Showing thread 1 of 75

extheat3 replies#
Cool! I recently wrote my own user script to do the same thing. It's going to be very hard to patch or detect this, as updating video element props don't trigger DOM updates. They would have to either do lots of JS prototype trickery or check for playback rate when doing adblock detection. One thing to keep in mind here though since you're doing DOM lookups every time anything on the page changes, is that there could be some small overhead in page render time, and also that using fixed CSS classes means any small change to page code could break the checks. In case it's a problem in the future, checking .innerText is a hacky way to workaround it.
rjh299 replies#
They could refuse to deliver the main video content until the minimum ad time has passed?
brucethemoose21 reply#
This has already happend to me, probably unintentionally. Something in Cromite "broke" the ads and just showed a black screen before the video started.

It was fine. I had no problem with it.

kurthr#
I had something similar happen. I'm fine with a blank screen and waiting 5-30sec. I don't want intrusive ads before during and after a 5 min video on water heater maintenance.
99915 replies#
Watching a blank screen is still a huge quality of life win.
throw1010109 replies#
Exactly what happens on Twitch (that or a low quality version of the stream) if you use the few anti-ads that still work. And I don't mind that, if I do, I usually stop watching and move to something else... especially because their ads are even more annoying than YouTube, often multiple consecutive 30 seconds ads, unskippable. I do not know who watches these, especially when they cut something happening live.

Continue this thread — 9 replies

amelius9 replies#
True, but what if they start encoding the ads into the stream?

Continue this thread — 9 replies

Buttons840#
Indeed, this is one possible end game, if we cannot block the ads from our computers, we can at least block them from our ears and eyeballs.

I view ads as a reminder to myself that I should maybe be doing something else with my time. I would love an ad blocker that blanked my entire computer screen for the duration of any ad, it would be a great chance to breathe and stop doom scrolling.

butz1 reply#
Someone someday will build an extension that will replace ads with "AI" generated video to fill in the blank.
eru#
You could also just have a system that predicts which videos you are going to watch next / soon, and preloads them in the background, so that the minimum-ad time will have already passed by the time you are giving them any attention?

That seems a lot simpler to do?

xnx#
I would definitely pay $100+ for an HDMI dongle that would black-out/mute cable TV commercials for my parents.
TheAceOfHearts6 replies#
Arms race towards people running their own private YouTube instances which pre-fetch subscriptions and recommendations to skip ads. If the video hasn't been downloaded already it pretends to play the ad in the background while waiting. A minor inconvenience, but hardly the end of the world.
dylan6049 replies#
Be even easier if they provided an MRSS feed! I wonder if a popular channel on YT started making their content available in an easy to parse format like MRSS if they'd notice a significant loss in YT viewers in favor of it. Of course, they'd then lose the ad share, so probably not a thing that will happen.

How fast would YT issue a C&D if someone created an app that did this for you so that you just entered in the channels you follow, and then it would just check every so often for new content?

Continue this thread — 9 replies

brendoelfrendo1 reply#
My god, we've re-invented the VCR.

Continue this thread — 1 reply

dreamcompiler2 replies#
Yes it's TiVo for Youtube. And this...THIS...is the real use case for desktop AI: Detecting ads and automatically skipping them.

Funny how the AI barons never mention how AI can empower normies against them.

Continue this thread — 2 replies

bitwize1 reply#
And then Google will sue the owners of any such instances for DMCA violation.

Your contract with the network when you get the show is you're going to watch the spots.

Continue this thread — 1 reply

depereo1 reply#
Sounds like a podcast app, but for video. A mix of yt-dl and some checks for specific channel updates.

Horrifying amounts of local storage required though.

Continue this thread — 1 reply

treyd1 reply#
Making this work would likely mean that the CDN edge servers become much more stateful and the costs of operating that might outweigh the additional revenue.
kevincox#
Not really. IIRC they already used signed URLs. They just need to add a not-before field to the URL.
matheusmoreira#
I'm OK with this. Better than ads.
apgwoz2 replies#
This. For some corporate training sites they do this, which makes watching at 2x useless since you just have wait silently… but if you’re me, you get distracted, go do something else and then come back a month later when the nag email tells you you need to do the training.
cwsx8 replies#
I don't think I've ever completed a training course on time, only after getting "urgent: 7 days to complete".

I've got severe ADHD so these types of assessments are near impossible due to the slow dialogue and forced wait time. Though most of these courses give you multiple (or unlimited) attempts, so I'll screenshot each slide + wrong answers and brute force until I'm done. At least I can get other stuff done in the meantime.

Continue this thread — 8 replies

0x38B1 reply#
Just give me a nice PDF I can read in half an hour instead of 5 hours of training that insults my intelligence by making me wait for the audio to finish. At Walmart back in the day, I spent the first couple days doing training in the back - the dullest thing I've ever done. But turning on closed captions and listening to my own music instead of their audio made it tolerable.

Continue this thread — 1 reply

ww520#
The next will be downloading the videos in background, stripping the ads, and watching them later.
mitthrowaway21 reply#
I've seen a few ads on Youtube that I actually appreciated watching. Quiet background music, a useful product, respectful presentation, text with no spoken words, and done quickly.

However, the vast majority are the exact opposite. Loud music, shouting, uncomfortable sound effects, a long playtime, and to top it off, either advertising an outright scam or else a product that I have no interest in whatsoever. Sometimes I have to rip my headphones off to protect my ears. Not to mention the timing -- ads between movements in a classical symphony, or else right during a passage itself.
It's a good reminder that while I've enjoyed Youtube for many years, I also have a CD collection I can listen to instead.

Continue this thread — 1 reply

Continue this thread — 1 more reply

Continue this thread — 2 more replies