Hacker News new | ask | show | jobs
by asquabventured 3360 days ago
> According to the article, current adblockers like Ublock Origin aren't searching for keywords in the page elements for ads

That's not quite true, uBlock Origin has the ability to block Procedural cosmetic filters [1] first introduced in version 1.8.0 [2].

These filters don't stop the network request from loading, but they do have the ability to look for target words. e.g. facebook inline feed ads can be cosmetically removed with the following filter [3]:

    'facebook.com###stream_pagelet div[id^="hyperfeed_story_id_"]:if(span.uiStreamAdditionalLogging:has-text(Sponsored))'
[1] https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-f...

[2] https://github.com/gorhill/uBlock/releases/tag/1.8.0

[3] https://github.com/uBlockOrigin/uAssets/issues/233#issuecomm...