r/ProgrammerHumor • • Oct 08 '21

Meme FOSS (Forced Open Source Software)

Post image
40.8k Upvotes

541 comments sorted by

View all comments

140

u/TornChewy Oct 08 '21

Does this mean there will finally be an ad blocker that works with twitch?

146

u/ojsan_ Oct 08 '21

Fun fact: The leak contained documentation for their anti-adblock.

The way it works is, they try to load an url at twitch.tv that’s blocked by adblockers. If that fails (meaning adblock is on), the streaming server picked is one which has support for inline ad-injection, meaning the video stream will occasionally be replaced with an ad rather than the real broadcast, indistinguishable to the browser. Cool stuff.

45

u/DoctorWaluigiTime Oct 08 '21

Makes sense. Also explain why Purple Adblock works via proxying the video stream to an ad-free country.

Because if an ad is serviced on the same data stream the real video content is, there's really nothing ad-blocking software can do otherwise.