Search code examples
firefox-addonnpapixpi

Packaging NPAPI plugins into firefox add-ons


I'm trying to package up an npapi into a firefox add-on I'm writing. If i have the plugin installed into ~/Library/Internet Plug-ins/ it all works correctly, but i cant get it to install with the xpi. I have the plugin at the root level of the plugin directory, but I can't figure out how to tell firefox to install it with the xpi.

Any tips?


Solution

  • sadly the new firefox SDK doesn't allow for npapi plugins to be auto-installed. add-ons that are "bootstrappable" wont be valid plugin sources. From what I can tell, bootstrappable means that they are just loaded from a script which dynamically injects elements into the browser. You need to use the old overlays method, where you just define the overlays or something, but to be honest I've never used the old method.