How to install Adblock Plus in Prism 0.9

Google Apps in the dock

UPDATE (9/11/2008): I’ve found a nicer way to do this. For your convenience, here’s Adblock Plus 0.7.5.5 for Prism, created using the same instructions.

(Mac OS X Tiger users only) You have battled with your Prism app just to visit the Firefox Addons page to install Adblock Plus. You click the install link: the addon file downloads, but after that, you get a message saying,

Adblock Plus 0.7.5.4 could not be installed because it is not compatible with Prism 0.9.

The hacker in you sees that there are a few options:

  1. Bug Politely request the Adblock Plus development team to include Prism in the list of supported browsers.
  2. Trick Prism into believing that the addon is compatible.
  3. Disable compatibility checking in Prism.

I am too impatient to do (1), and I haven’t figured out how to do (2). So I decided to do (3):

  1. Install the Prism for Firefox 0.2 addon.
  2. Close all running instances of Firefox or Prism.
  3. Find a file named webrunner-prefs.js in your computer.
  4. Edit that file in a text editor, adding the following line:

    pref("extensions.checkCompatibility", false);

  5. Save and close the file.

Now try installing Adblock Plus again. It should now install successfully, albeit with a warning that the addon is not compatible. (But who better than you to decide if an addon is compatible, right?) When you restart Prism, Adblock Plus should be present when you open the Addons dialog.

Kindly feedback if this worked for you.

Tip: This works for other addons too.

7 Comments

  1. Ha! Thanks works!

    I find it strange that Prism can’t support add-ons by default though…

    thanks for the tip, i’m gonna link to it on my blog!

    Posted by joey-elijah on 12 Jun 2008 at 11:31 pm | Permalink
  2. Great stuff! :)

    Posted by introspectif on 12 Jun 2008 at 11:33 pm | Permalink
  3. Prism _does_ support add-ons by default. But add-ons are designed to work with specific host applications. You can’t just willy-nilly drop add-ons into different hosts and expect them to work.

    In this case, we get lucky - but the typical AdBlock UI doesn’t exist.

    Trying steps #1 and #2 would be better :)

    Posted by Mark Finkle on 13 Jun 2008 at 11:55 am | Permalink
  4. Hi Mark

    It’s great to have you respond on this. I guess many people (including myself) have been trying to get the addons working, but they have failed — causing much frustration. Maybe the documentation for how to get addons to work is lacking, or unclear.

    Perhaps you could provide more (official) information in the forums or on the Prism page on MozillaWiki? Start with how to install Adblock ;-)

    Posted by introspectif on 13 Jun 2008 at 12:30 pm | Permalink
  5. i understand that the add-ons are designed to be compatible with specific versions etc, but doesn’t prism run on Firefox as it’s base?

    Posted by joey-elijah on 15 Jun 2008 at 6:28 am | Permalink
  6. Yes, it does. But when installing addons in Prism, the version of Prism is checked, instead of the version of Firefox. So this has made installing addons really difficult.

    Posted by introspectif on 15 Jun 2008 at 6:25 pm | Permalink
  7. Mark

    (2) is relatively easy too implement as well - see http://adblockplus.org/forum/viewtopic.php?t=2229

    AdBlockPlus 0.7.5.4 worked allright with Prism 0.9.0, however, I haven’t been able to get either 0.7.5.4 nor 0.7.5.5 to work with 0.9.1 :(

    Posted by Mark on 6 Nov 2008 at 10:34 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*