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?
Discussion of topics related to ad blocking.
1 post • Page 1 of 1