Live data from Hacker News

Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

ericdraken.com

271–280 of 659 posts

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#271
post #265

[flagged]

Because YouTube ads like all ads are annoying. For the couple of times a month I end up watching something on YouTube by luck, why would I care about “creators”. I don’t use Spotify.

If you don’t care about the creators then why watch the content? Sure, the subscription might not make sense to you, but either the content has some value or not. The ads are the value exchange.

Don’t get me wrong, I don’t like the ads either.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#272

A few years ago pihole was all the rage. What happened? I'm genuinely asking what are the difference between the two approaches and when is one better than the other.

The article briefly talks about that. I’ll save you the hunt.

“ This unboxing and setup has been fun, but I’d like to block all the bad traffic on my network. I’ve been using a workhorse of a DNS-level adblocker called Pi-Hole on a… yes, Pi, but it would be nice if I can reclaim that wee bit of hardware for something else and use a comparable add-on module in pfSense. Let’s explore that now.”

So basically that was only doing DNS level blocking. This article is about traffic decryption and manipulation.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#273
post #43

Earlier quoted context omitted.

it's computationally expensive if it's more computation than all the other things you'd like your hardware to do, i think is a better definition.

No, that's not the issue. The author seemed to have parsed the protobuf data by converting it all to a huge hierarchy of thousands (millions?) of Python objects. Of course that is slow and takes a few seconds. That's so many allocations! But if you are just looking for a specific tag, there's no need for that, I'm pretty sure you can parse protobuf in place without allocations, which would be a million times faster.…

Heck, you may be able to do it with eBPF or some other low-level hardware-accelerated packet filter.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#274
post #265

[flagged]

Part of the objection to ads is the tracking.

If you subscribe to YouTube premium you’re making yourself even more identifiable.

You end up seeing more creepy ads elsewhere on the web using your viewing history to target you.

Versus an adblocker which will help hide you from Google everywhere.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#275
post #265

[flagged]

My general rule of thumb here is, if there's a way I can pay for the service, and that payment eliminates ads, then I'll gladly pay for it.

Else, I'll block the ads.

I agree it's not fair to anyone involved to break the monetisation strategy.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#276

A few years ago pihole was all the rage. What happened? I'm genuinely asking what are the difference between the two approaches and when is one better than the other.

Pihole is still a wonderful application. I use it on my home network. One drawback that the pihole has vs pfSense is pihole cannot do anything about devices that have hard coded DNS ips (aka 1.1.1.1 or 8.8.8.8 etc).

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#278
post #265

[flagged]

> I don't get why people block ads on YouTube, robbing individual creators. It's not like hulu or Amazon where you are just robbing megacorp and predatorial studios.

How much does YouTube/Google/Alphabet get from each ad view and how much of that goes to the actual uploader of the video? If the ratio is less than ~50%, I wouldn't feel too bad about it.

Secondly, not every could afford the $10 price, but still doesn't want to view ads. These people wouldn't pay the $10 price regardless.

Thirdly, if you follow this procedure and strip the ads from the stream, does that make it so YouTube doesn't count the ad impression?

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#279
post #19

Why is toggling `has_premium_lite_entitlement` cheating compared to anything else? What would it do?

I am assuming it would completely prevent ads (so no need to figure out how to filter/block them) as the name of this field suggests that it might be used by YouTube to figure out if someone has a premium subscription or not. Toggling this field would not have led the author to the later protobuf rabbit hole as there would have been no need for it. From personal experience, we programmers/hackers sometimes like to ma…

I highly doubt that. it is still only a client-side parameter. the server will still know whether you have paid or not

it's a bit like inspecting source on a banking website, altering the balance html, then expecting the displayed value to reflect actual account funds

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#280
post #265

[flagged]

No, this is nonsense. You cannot force someone to watch ads. Is it robbing video creators to mute an ad while it's playing? Is it robbing video creators to get up and grab a drink during an ad? If YouTube wants to monetize, then they can paywall their content, and more power to them. If I want to support a creator, I'll subscribe to their Patreon (and I do!). But my browser is a user agent operating on my behalf, running on a computer whose software I control, on a network whose traffic I control.

Suffering corporate brainwashing via ads is not some moral imperative, and I wish people would stop trying to pretend otherwise, especially on Hacker News, of all places.

Post reply on HN