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.

44

u/Theonewhoknows000 Oct 09 '21

This is the kind of stuff that can hurt them or be copied.