Trouble Packaging Firefox Extension

115 Views Asked by At

I have followed a couple different links that show how to package Firefox extensions. In cfx, my extension runs exactly how I want it. I made my install.rdf and zipped my files, changing the file type to xpi. When I install it in live Firefox, it shows up in my installed extensions, but nothing happens. I have also tried just using the base install.rdf that they post as a sample, but no luck. What am I missing here?

Here's one guide I've been working off of.

1

There are 1 best solutions below

0
On BEST ANSWER

You should be using cfx xpi to package your addons, not the docs you pointed to. As @Noitidart pointed out, there are reasons to unpackage that xpi file and repackage it, and that is mentioned in the above link.

There are three ways to make extensions for Firefox. When you're using the add-on SDK (one of the ways), make sure all the docs you're reading are under the developer.mozilla.org/en-US/Add-ons/SDK/ path.

Note that Firefox is making the move from cfx to jpm, so unless you need your extensions to be available on AMO very soon, you should use jpm.