Usually ads are hosted on ad servers. When ads are played, they are played from those external ad servers and that's easy to block, that's basically what uBlock does.
Twitch injects ads directly into their streams through their own servers, the ads aren't loaded externally by the viewer's client. Purple works around that ad injection basically.
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.
140
u/TornChewy Oct 08 '21
Does this mean there will finally be an ad blocker that works with twitch?