Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Pages at the https://addons.mozilla.org/en-US/firefox site often feature buttons that say "Add to Firefox".

Clicking on such a button causes a Firefox extension to be downloaded and installed.

I am looking for a convenient way to limit this action to the download step only, so that in the end I am left with the downloaded *.xpi file in my disk.

Thanks!

P.S. The following approach is not only inconvenient: it doesn't work!.

  1. Inspect the HTML for the button, and extract a URL like

    https://addons.mozilla.org/firefox/downloads/latest/1234/addon-1234-latest.xpi?src=search

    give or take the stuff after .xpi.

  2. at the command-line prompt, download this URL with wget or curl.

This download attempt just hangs. (Even if it didn't, I'd like to find a less cumbersome approach.)

share|improve this question
    
It works for me, gist.github.com/2984295 –  iMom0 Jun 24 '12 at 18:20
    
Use a different web browser? –  Zoredache Jun 25 '12 at 1:07
add comment

3 Answers 3

up vote 8 down vote accepted

In Firefox, right-click on the download button and select "save link as" has always worked for me.

share|improve this answer
    
+1 So simple I can't even make a comment. –  criziot Jun 24 '12 at 19:03
add comment

Using another browser to download the plugin solves your problem.

Or you can just change the user-agent string and make your firefox look like another browser so you can download the extension.

But I know it isn't the best solution.

share|improve this answer
add comment

Go to the add-on you want to install and just right click on the +Add to Firefox button and select save link as. After downloading the file just go to File>Open File and just select the extension you have downloaded work like a charm for me.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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