How is it possible to download a firefox extension as .xpi-file from the official site https://addons.mozilla.org/ if not using firefox as a browser?

https://addons.mozilla.org/ in this case just shows "Only with Firefox—Get Firefox Now" instead of the install/ download button -- and when I click there, I am prompted to download firefox. But I want to get the extension (e.g. to install it manually on another computer, or in another browser like Pale Moon).


You can download an extension from Firefox:

  1. Go to the extension page, for example https://addons.mozilla.org/en-US/firefox/addon/ghostery/?src=homepage-collection-featured.
  2. Do a right-click on Add to Firefox button and select Copy Link Location.
  3. Paste the link to the address bar, then insert "/type:attachment" after file number: "https://addons.mozilla.org/firefox/downloads/file/3390826/ghostery_privacy_ad_blocker-8.4.2-an+fx.xpi?src=homepage-collection-featured" -> "https://addons.mozilla.org/firefox/downloads/file/3390826/type:attachment/ghostery_privacy_ad_blocker-8.4.2-an+fx.xpi?src=homepage-collection-featured".
  4. Open the link.

... or from any other browser:

  1. Open source code of an extension page (select the appropriate item from right-click menu of the page).
  2. Search for "platformFiles": string.
  3. Copy the file id that follows it (3390826 in example above).
  4. In the address bar type https://addons.mozilla.org/firefox/downloads/file/, then add the file id you got on step 3 and press Enter.
| improve this answer | |
  • 1
    The 3rd step is not necessary if the extension link is opened in Firefox. Also the ?src=homepage-collection-featured part can be removed from the first link. – Biswapriyo Nov 2 '19 at 19:52
  • The 3rd step is necessary if you want to download the extension instead of install it. – GCRaistlin Nov 2 '19 at 23:04
  • @GCRaistlin: But the question is how to download it without firefox. I have a reason to not use firefox itself. – Golar Ramblar Nov 3 '19 at 19:32
  • The answer is updated. – GCRaistlin Nov 4 '19 at 7:52

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.