4 ms·
A good ad-blocker should imho always keep a "shadow" DOM, so that 1. the ad-blocker does not interfere with the normal operation of the website (or webapp), an
by amelius 11y ago
A good ad-blocker should imho always keep a "shadow" DOM, so that
1. the ad-blocker does not interfere with the normal operation of the website (or webapp), and
2. the website can never detect that an ad-blocker is running.
I'm not sure whether Opera does this.
- angry-hacker 11y agoThe website can always detect an adblock. Just set a variable inside the ads.js and if it's not present, the ads are blocked. (or the file didn't load).
- amelius 11y agoNo, the idea is that the ads.js runs on the real DOM. The shadow DOM is a copy of that DOM minus the ads. This is the DOM shown to the user.
- angry-hacker 11y agoHmm, sounds interesting, but wouldn't it need a lot of more resources for computing all that stuff? You also need to actually download and do the work with all those ads.js (that loads another 10 trackers).
- tokenizerrr 11y agoThen you would still get tracked. Half the point of adblockers is prevent the ad networks from tracking you.
- amelius 11y agoTo prevent this, the browser could use a fresh cookie every time you visit the site, except for sites you whitelist.
- untog 11y agoThat removes one of the huge benefits of ad blocking - saving bandwidth.
- distances 11y agoThis wouldn't deliver the security aspect of ad blocking though, which is a major reason to use one nowadays.