3 ms·
Facebook does something similar to combat adblockers. They mangle the names of div elements to make sponsored posts indistinguishable from friends/group posts.
by comprev 5y ago
Facebook does something similar to combat adblockers. They mangle the names of div elements to make sponsored posts indistinguishable from friends/group posts. I'm not aware of any browser plugins which are effective at blocking FB ads.
Anyone know if other websites put as much effort into anti-adblock engineering?
- lostmsu 5y agoFB Purity seems to be keeping up. But it is not a general purpose adblocker.
- wantlotsofcurry 5y agoI think Workday does the same. Trying to scrape data from there was a nightmare (team didn't have api access).
- mgdlbp 5y agoCould you not base a filter on whether a div contains text matching your list of groups and friends?
- oefrha 5y agoA vision (ML)-based blocker should easily blow rigid rule-based cosmetic blockers out of the water and render div soup obfuscation completely useless. Not sure anyone’s investing in that space though. Once you’ve defeated obfuscation you’ll be dealing with DOM integrity-based defenses.