AdNauseam-chrome icon indicating copy to clipboard operation
AdNauseam-chrome copied to clipboard

AdBlock Integration

Open dhowe opened this issue 9 years ago • 0 comments

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...

svn:  http://adblockforchrome.googlecode.com/svn/trunk/ adblockforchrome-read-only
releases: http://code.getadblock.com/releases/

Some info on cross-extension messaging

dhowe avatar Dec 12 '14 05:12 dhowe