Hacker News new | ask | show | jobs
by totalrobe 3934 days ago
Really? How does content in <div> tags not get filtered out as well, or does it?
1 comments

The filter list will block the div by id, class, or by its position among some other containing element.
But how does it know that it is an ad? Some advanced heuristics?
It's all manual. Someone sees it and submits the item into the EasyList blocklist: https://easylist.adblockplus.org/ - it looks like http://forums.lanik.us/ is used for reporting items to block or unblock.
Filter lists are curated by humans. It's an arms race between two smart groups.
Probably adblockers keep a dictionary of filters for blocking native ads.