Re:Are ad blockers doomed or have we already won? A history ...
by ameshkov on Friday February 28, 2020 @12:44PM
(#22444602)
Shadow DOM is created dynamically using "attachShadow". You can try overriding Element.prototype.attachShadow, but this is easy to detect.
Re:Are ad blockers doomed or have we already won? A history ...
by zzzcpan on Friday February 28, 2020 @01:00PM
(#22444767)
Well, currently adblocking is already full of such easy to detect overrides, and extension APIs already have plenty of limitations on what they can touch and replace allowing websites to easily bypass most of the overrides, but they do work at the moment and websites don't bother.
Why not? You can inject any script into a meta header on document start from an extension or do the same in an intercepting proxy.