Need to override at least one function in an (unmodified) adblocker.
This is tricky if not impossible (any Chrome gurus want to weigh in on this?) when the adblocker does not expose a public API, as Adblock Plus does in the FF case. Which means we may end up needing to fork a version of an existing adblocker... at which point it may be easier to just package ADN as a single extension, rather than using the 2-install model we have for FF.
That question aside, one option that looks promising, though we would need to check licensing, is AdBlock. See links to source below. At first glance, it appears that replacing/overriding elementPurger.onPurgeRequest() does what we need...
Need to override at least one function in an (unmodified) adblocker.
This is tricky if not impossible (any Chrome gurus want to weigh in on this?) when the adblocker does not expose a public API, as Adblock Plus does in the FF case. Which means we may end up needing to fork a version of an existing adblocker... at which point it may be easier to just package ADN as a single extension, rather than using the 2-install model we have for FF.
That question aside, one option that looks promising, though we would need to check licensing, is AdBlock. See links to source below. At first glance, it appears that replacing/overriding elementPurger.onPurgeRequest() does what we need...
Some info on cross-extension messaging