Is there a convenient way to examine the source code for a Firefox extension before installing it?

(There is a Chrome extension that offers this functionality, though I have not used it, and cannot say how well it works. At any rate, I am interested primarily in Firefox extensions.)


As Wladimir pointed out the .xpi file is simply a ZIP archive put together in a particular way. Open it with WinRAR, 7-zip or rename it to .zip and open it with your OS's default tool.

To get ahold of the .xpi file use https://addons.mozilla.org instead of the built-in extension manager. From there you can right-click on the install button and choose Save as...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.