Native Chromium adblocker

Discussion of topics related to ad blocking.
Locked
DimitriT
Site Member
Site Member
Posts: 49
Joined: Fri Jan 19, 2018 6:05 pm

Native Chromium adblocker

Post by DimitriT »

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?
Locked