Adblock Plus and (a little) more

Yes, Adblock Plus is broken in the current Minefield · 2010-07-02 17:04 by Wladimir Palant

I expect lots of reports on this issue so I better publish an explanation before that happens. Yes, starting with Minefield build 20100702 Adblock Plus won’t work any more — neither the stable version nor the development builds. This is due to huge changes in the Gecko platform which were announced a few weeks ago.

These affect lots of extensions, not only Adblock Plus. The solution is relatively easy and I’ve implemented it for the Adblock Plus development builds already. However, these huge changes caused a regression which prevents even these development builds from working. So at the moment I cannot provide a working Adblock Plus version for Minefield build 20100702 and higher — if you cannot live without it you should stay with Minefield build 20100701 for now.

What happens next? I expect bug 576492 to be resolved soon, at this point Adblock Plus development builds will start working again. A little later, once the dust settles, I will release Adblock Plus 1.2.1 to give people a stable version as well that is compatible with Minefield (it will not have any of the changes that already went into the development builds, only a tiny compatibility change).

Update: Bug 576492 is already fixed meaning that the current Adblock Plus development build (1.3a.20100702) should work correctly in the next Minefield nightly.

Update 2 (2010-07-09): Adblock Plus 1.2.1 has been released. Unfortunately, it isn’t available on addons.mozilla.org yet.

Tags:

Comment [5]

  1. cuz84d · 2010-07-03 04:21 · #

    Can you update AMO with this new version with the most recent trunk fix?

    Thanks

    Reply from Wladimir Palant:

    To quote the article you are commenting on: “A little later, once the dust settles, I will release Adblock Plus 1.2.1 to give people a stable version as well that is compatible with Minefield”

  2. Nils Maier · 2010-07-03 16:56 · #

    Actually your profile-after-change observer never gets called.
    You register “category profile-after-change @adblockplus.org/abp/startup;1 service,@adblockplus.org/abp/startup;1”
    which translates to:
    category: profile-after-change
    entry: @adblockplus.org/abp/startup;1
    value: service,@adblockplus.org/abp/startup;1
    However the category manager will always initialize services, always using the whole value:
    http://mxr.mozilla.org/mozilla-central/source/xpcom/components/nsCategoryManager.cpp#745
    Since your value is prefixed with “service,” … ;)

    Reply from Wladimir Palant:

    Heh, you are right… I copied that from some example or Mozilla patch – but I better should have left this as it was. Unfortunately, ABP has a fallback to initialize later if necessary which is why I didn’t notice. Fixed this.

  3. Daniel Hahler · 2010-07-10 00:25 · #

    Thanks for fixing it for the Minefield builds, very much appreciated!

  4. johnny · 2010-08-12 21:51 · #

    I really like your ad block plus it is a great add on, when will it be ready for 4.0 beta 4????????? Don’t want to seem demanding but it is a hassle without it. Is there anything else I can use until then? Also, why can’t you or Mozilla just build this feature into all Firefox versions and then we don’t always have to wait when a new beta comes out. I enjoy using the latest beta of Minefield and would like to keep doing so. Thanks very much for all your fine work!!!!!!!!!!!!!!!!!!

    Reply from Wladimir Palant:

    Please be patient. Unfortunately, Mozilla requires me to mark Adblock Plus as compatible again on each alpha/beta release (and not too early). Now that I am back from vacation I’ve done that. Stable version should work within an hour, development builds tomorrow.

  5. Dima Q · 2010-08-13 09:31 · #

    Hey Wlad, thanks for your great work on Adblock Plus!

    Minefield/4.0b4pre however is still broken with 1.2.1 :(
    Somehow redirects don’t work anymore, instead http redirect message is shown on the screen.

    I hope Adblock Plus gets better soon, cause it’s the best!

    Reply from Wladimir Palant:

    Unfortunately, Mozilla requires me to mark Adblock Plus as compatible again on each alpha/beta release (and not too early). Now that I am back from vacation I’ve done that. Stable version should work within an hour, development builds tomorrow.

Commenting is closed for this article.