Native Chromium adblocker

Discussion of topics related to ad blocking.

Moderator: EasyList Authors

Post Reply
DimitriT
Site Member
Site Member
Posts: 15
Joined: Fri Jan 19, 2018 6:05 pm
Reputation: 0

Native Chromium adblocker

Post by DimitriT » Mon Aug 27, 2018 1:45 pm

I'm experimenting with adding a component to Chromium which does adblocking. The advantage to this is that it does not require the extensions api so it should work on Android Chromium.

I am at the point where I need to design the element hiding components.

From looking at how element hiding rules are supposed to work it seems that for most rules I can rely on the built-in document css selector code. Chromium's blink component allows you to register a table of CSS selectors and you would get a callback when a rule matches.

There would still be the problem of implementing the extensions (-abp-*) and limiting the selection per domain but what do folks think. Am I on the right path? What would still be missing? Xpath?

Post Reply