News for hackers. Stuff that matters.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by brainbag on Sunday August 27, 2023 @06:43AM (#37281348)
would you mind providing more details about this? Is it any user agent header, or do you need to do some thing like curl-impersonate?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @07:18AM (#37281511)
No, actually it just needed to be well-formed. UA headers follow a certain format. Some folks like to try to "blend in" and use known headers seen in the wild but personally I like to make up new UA headers that reveal nothing, not even fake details. On the whole, I very rarely send a UA header. The number of sites that demand one is very small for me. I had just assumed Cloudflare was doing TLS fingerprinting or something more involved than just checking for presence of a UA header. But it worked. The StackExchange family of sites is one example where a UA header is needed. They will block otherwise. Not using Cloudflare to do the blocking though.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @05:06PM (#37286649)
s/StackExchange/StackOverflow/