Live data from Hacker News

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

ericdraken.com

1–10 of 659 posts

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

#5
The real tragedy:

> In fact, the YouTube app is zippier because fewer connections are made to ad URLs in the first place.

I swear on LG TV that webOS runs at a smooth 60 FPS when it's not connected to Wi-Fi and slows down as soon as it phones home for whatever telemetry and ads LG intend to serve me...

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

#6
that's not really a "flaw" in protobuf; the protobuf is Working As Intended by decoding the field in a different place when you modify it.

i am not sure how one could possibly characterize that as a "flaw," since protobuf is a field-numeric length-prefixed protocol in the first place. it makes a (reasonable) assumption that bytes won't be messed with over the wire, leaving integrity to the reader, so even if this _was_ a flaw, it would be a flaw in the YouTube app for iOS, not in protobuf...

since it isn't a flaw, it isn't an "exploit," unless you are referring to the fact that youtube's protobuf exchange on their iOS app isn't checking hashes for returned payloads.

i suspect after this post they will

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

#7

The real tragedy: > In fact, the YouTube app is zippier because fewer connections are made to ad URLs in the first place. I swear on LG TV that webOS runs at a smooth 60 FPS when it's not connected to Wi-Fi and slows down as soon as it phones home for whatever telemetry and ads LG intend to serve me...

In a previous role I was tasked with increasing the lighthouse/pagespeed score across some web properties. After some iterations and very little improvements we would be asked what else we could do. Did we need to speed up the backend? Could we lower latency, etc…

The solution: I set up a query param that would disable google tag manager. All of the crazy tracking and telemetry stuff we didn't control was the biggest issue.

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

#8
Very nice writeup. I was kinda hoping to find a way to MITM devices that don't allow the installation of custom CA's. I have some IoT devices that do not expose a local API and only exposes the data through the cloud, and would like to capture the device to cloud traffic...

I guess the only way to do that would be to dump the flash memory, replace the CA and reupload the dump to the device?

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

#10

The real tragedy: > In fact, the YouTube app is zippier because fewer connections are made to ad URLs in the first place. I swear on LG TV that webOS runs at a smooth 60 FPS when it's not connected to Wi-Fi and slows down as soon as it phones home for whatever telemetry and ads LG intend to serve me...

This shows how little they care, or poor engineering, or both.

Failing all engineering effort, they could have use a beefer CPU...

Post reply on HN