How to install Adblock Plus in Prism 0.9

by introspectif

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.