Monday, September 28, 2009

AdBlock

This past week the adblock branch was finally merged into Arora's master branch. A way to block content was one of the first issues opened (issue #24) and was the issue with the most stars/votes. After a lot of work and research the end results speaks for itself.


A big thanks goes out to Zsombor Gegesy who did a lot of initial development and through his efforts we learned a fair amount about what was needed and what solutions users would not accept. While various browsers have had systems for blocking content the Adblock Plus FireFox plugin has really set the standard for what users expect. A primary feature of Adblock Plus has been the idea of a subscription. Arora's AdBlock attempts to be compatible to the current Adblock Plus system and system supports subscribing to Adblock Plus subscriptions (even supporting abp:// links) and the Adblock Plus rule set.



Adblock is two different blocking systems. The first is network and blocks the downloading of content. The second is about hiding/removing items on the web page. Qt 4.5 users will get the network side in the next Arora release, but for the dom manipulation we currently use QWebElement which is part of 4.6 (if someone wants to make a patch to do this in Javascript the patch would be accepted). Currently the AdBlock in Arora is very simple, but it is enough to be usable and to get feedback on so it was merged in. By default AdBlock is not enabled, but can be easily enabled through the Tools/AdBlock dialog. The major missing features are:
  • The list of items blocked on the current page wasn't ready to be merged in before the string freeze so it will be in the next release.
  • A few AdblockPlus Rule options are not yet supported.
  • When you right click to block something on a webpage it does not show a nice wizard, but just ads the url to the custom rule list.

If you are interested in helping out on these or other AdBlock feature in Arora stop by #arora on irc.freenode.net. All of the AdBlock code in Arora is released under the BSD license and we welcome contributions from other projects that would like to share this feature in their QtWebKit project.

AdBlock will be part of the next Arora release 0.10.0 which will be released Wednesday night / Thursday morning. If you want to help and contribute a translation make sure to submit it before Wednesday.

7 comments:

shamaz said...

Thanks to all the person involved :)

SeaJey said...

Awesome!

Ikipou said...

This is awesome, thanks for this great feature!

stanley said...

hey when are you guys gonna release version 0.10

it's mentioned that it will be released by wednesday night or monday morning...still no sign of it :-o

stanley said...

ummm sorry, lil mistake there...thursday morning... :D

stanley said...

m waiting guys...n i've also noticed some prob with flash on some websites, arora is not displaying flash banners properly...m not sure if u guys r aware of that.. :-o

plus...the linux version of arora looks really nice as compared to windows version...how's that possible...i mean the appearence should be the same for both of them...

Benjamin Meyer said...

0.10.0 was tagged last night. Just couldn't upload the files until this morning due to a problem on google's side.