How to use Firefox plugins in SeaMonkeykeywords: Firefox

01/21/2011 by Sylvain Hallé

Firefox and SeaMonkey are almost the same program. This means that plugins for Firefox generally work in SeaMonkey.

However, SeaMonkey refuses to install a plugin unless it explicitly declares it can work with SeaMonkey. Sometimes, all that is missing from the plugin is this declaration, which you can add manually as follows:

  1. Rename extension.xpi into
  2. Unpack into some temporary directory
  3. In the root folder of the unpacked archive, locate the file install.rdf and open it in a text editor. The file is an XML document with multiple elements of the form <em:targetApplication>
  4. Duplicate (i.e. copy-paste) one of these elements (complete with its nested elements and values)
  5. Modify the value of the <em:id> element to {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} (including the braces)
  6. Modify the value of the elements <em:minVersion> and <em:maxVersion> respectively to 2.0 and 2.*
  7. Save the file
  8. Re-zip the contents you unzipped (including the now-modified install.rdf) into
  9. Rename into extension-sm.xpi
  10. Install extension-sm.xpi into SeaMonkey

Be warned, though, that you are somehow "twisting the plugin's arm" by forcing it to declare it can work with SeaMonkey. This will force it to install, but it still might not work. Caveat emptor.

comments powered by Disqus