News for hackers. Stuff that matters.
Re:What media companies don’t want you to know about ad bloc... by valine on Thursday June 30, 2016 @07:44AM (#12007850)
I suppose you could have a stateful adblocker that looks for the element changing between page loads, and ignores the randomly generated elements that aren't visible to the user. Of course it would only work the second time you load the page. The adblocker could load a second copy of the page in the background, and then update the DOM of the first page after it determines which elements were regenerated.
Re:What media companies don’t want you to know about ad bloc... by onion2k on Thursday June 30, 2016 @08:20AM (#12007975)
That'd be an interesting approach. I like the idea of diff'ing a page to detect sneaky ad injection.
Re:What media companies don’t want you to know about ad bloc... by jackmaney on Thursday June 30, 2016 @10:01AM (#12008570)
An interesting idea, but it would be difficult at best to prevent false positives on sites with dynamic elements.