Since my port of AdBlockPlus to WebKit is applicable to far more than just the HTC vogue (or even just android), here is the code. Unfortunately, WebKit doesn't have content-policy plugins like FireFox, and since my goal was to just get this working in the quickest, dirtiest way possible, this is implemented as a very very sloppy hack to the WebCore code. Here is the patch for android. This only includes element-blocking, since that suffices to block everything on sites I visit on android, and my first shot at element hiding wasn't too efficient.
Here is the patch. To use it,
- Apply patch
- Place filter list (you can find a good one here) in /sdcard/block.txt
- Run browser app. In settings, "Load Images" is now "Block ads" (see comment in patch for reasoning behind this; here is a patch to change text)