Adblock Plus and (a little) more

Adblock Plus 0.7.2 is going to be great! · 2006-08-23 19:59 by Wladimir Palant

For some reason the last two days have been very productive — I found solutions for three basic problems that have been bugging me for quite a while.

But first of all I have to admit my stupidity. I added “immediate unblocking” to “long term plans” because I thought that it would require changes in Gecko. Then I found out that Gecko already had something like what I was thinking about, yet getting it to work correctly would take some time (that’s when I added this feature to the plans for the next release, with a question mark). And only now I finally saw the obvious solution — in order to make something run through the content policies again you have to remove it from the document and then re-add. Tested it, no issues so far, except that it won’t work for background images and scripts. At least for scripts that’s fine — “unblocking” a script that was meant to run during page load doesn’t make too much sense anyway.

The other problem I found a solution for is object tabs. No, the long-standing bugs 12910 and 12911 are still waiting for a solution. However, I found a way to make object tabs almost invisible to the functions working with the webpage. That means that document.body.innerHTML won’t contain the object tabs any more, and we won’t see problems like object tabs running amok again. I hope the bloggers amonst you are really happy now.

And finally the third idea — I blogged about this one already though it might have been not very comprehensible. The essence: I found a way to make the processing of simple filters even more efficient than it is now. The result is that the new algorithm can be used even for small numbers of filters (in Adblock Plus 0.7/0.7.1 it is only used if the list contains more than 100 simple filters).

So, what do we get? Adblock Plus 0.7.2 will be once again more consistent in what it does (filter changes will apply immediately regardless of whether they are blocking or unblocking, temporary unblocking via context menu will be possible). It will be more efficient, and its interventions into the page structure will be reduced once more. Not bad for a start…


Comment [5]

  1. ecjs · 2006-08-24 00:41 · #

    Great news !

  2. IceDogg · 2006-08-24 05:30 · #

    Great indeed! Can’t wait to see it in action. This is how development SHOULD be done. THANKS!

  3. Uwe Keim · 2006-08-25 15:09 · #

    Really great tool. I installed today and am very happy. Thanks!

  4. rick752 · 2006-08-25 23:29 · #

    Sounds great, Wladimir.

    So when to we get to “play” with it?

    Rock & Roll!!!

  5. Alec · 2006-09-20 00:21 · #

    Can’t wait!!!

Commenting is closed for this article.