MozillaZine

how to download your own .xpi files

Discussion of general topics about Mozilla Firefox
FlickHammer
 
Posts: 25
Joined: June 6th, 2006, 6:51 am

Post Posted February 23rd, 2009, 8:38 am

Have you ever tried to download a .xpi file so you can store it on your own computer?
(it used to be a nice easy right click and save as with the good old firefox)

Its nice and handy on your own drive and you can re-install it after a system restore without having to log into mozilla.org

Well I've been a huge fan of "copy links" and still run my old v1.5 firefox just so I can use it.
I was overjoyed to find its now available for v3.xx, all I have to do is download it.

Easy, have a go :wink:

https://addons.mozilla.org/en-US/firefo ... 1.5-fx.xpi

Ok once you log in you can install it but if you search your hard drive for a copy of the file its vanished, not even *.xpi finds anything.

It took me 20 minutes to figure out how to grab my own copy but I got it in the end :P

make a .html file in notepad and add the following
Code: Select all
<a href="https://YOUR-USERNAME:YOUR-PASSWORD@addons.mozilla.org/en-US/firefox/downloads/file/32015/copy_links-0.1.5-fx.xpi">
Right click and save as</a>

*add your own username password and url to the .xpi file you want to grab)

load the html into firefox then open a new window and copy and paste the .xpi url into it
https://addons.mozilla.org/en-US/firefo ... 1.5-fx.xpi

Log in and whilst its asking you if you want to install the add on right click the link in the other page and save as, is shows as an error unable to download the file in firefox but the download does work and the file will be saved to your drive

I works fore me anyway :D

Bluefang

User avatar
 
Posts: 7846
Joined: August 10th, 2005, 2:55 pm
Location: Vermont

Post Posted February 23rd, 2009, 8:53 am

The problem is that the extension you are trying to download is in the sandbox/experimental. Just login to AMO and you wouldn't have this problem.
There have always been ghosts in the machine... random segments of code that have grouped together to form unexpected protocols. Unanticipated, these free radicals engender questions of free will, creativity, and even the nature of what we might call the soul...

FlickHammer
 
Posts: 25
Joined: June 6th, 2006, 6:51 am

Post Posted February 23rd, 2009, 10:31 am

Hi'

I was logged in but couldn't download it, you don't get a direct link.
Just try download the one I posted and you'll see what I mean.
Most people probably don't want to download them anyway :)

Anonymosity
 
Posts: 8163
Joined: May 7th, 2007, 12:07 pm

Post Posted February 23rd, 2009, 1:24 pm

I have been downloading all my add-ons because I like to have backup copies of the installers. If I need to reinstall them, the installers are handy that way.

the-edmeister

User avatar
 
Posts: 31086
Joined: February 25th, 2003, 12:51 am
Location: Chicago, IL, USA

Post Posted February 23rd, 2009, 2:23 pm

I have extensions saved for versions of Firefox going all the way back to 0.8 .



Ed
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.

James
Moderator

User avatar
 
Posts: 25589
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Post Posted February 23rd, 2009, 4:09 pm

FlickHammer wrote:Have you ever tried to download a .xpi file so you can store it on your own computer?
(it used to be a nice easy right click and save as with the good old firefox)

For the non-Experimental ones yes as Experimental means anywhere from old, not maintained anymore, new not yet reviewed ready for Public section.

FlickHammer wrote:Hi'

I was logged in but couldn't download it, you don't get a direct link.
Just try download the one I posted and you'll see what I mean.
Most people probably don't want to download them anyway :)

Logged in on addons.mozilla.org ? ..as you should then be able install into Firefox or right-click and Save Link As like with the Public extensions. You know your logged in when you see * My Account * Developer Tools * Log out on top.
(*.mozillaZine.org is not Mozilla!)
The Complaint Department at Mozilla (current complaints) (<It is not a real complaint site but for jokes/testing of bugzilla).
The Complaint department link is borked until unknown time.

Anonymosity
 
Posts: 8163
Joined: May 7th, 2007, 12:07 pm

Post Posted February 24th, 2009, 2:14 pm

If you right-click that install button, you can choose Save from the menu and download that way. It works for me, anyway.

RDN
 
Posts: 51
Joined: October 3rd, 2005, 9:19 am
Location: Thailand

Post Posted March 3rd, 2009, 12:12 am

I, too, have been keeping all my .xpi files for many years. It's useful in case there is a conflict between extensions and you need to remove one and re-install an old version.

HOWEVER, right-clicking on the "Install" button no longer appears to allow saving of the .xpi file. The link on the install button is now of this format:

https: //addons.mozilla.org/en-US/firefox/downloads/latest/658

and no longer of this format:

https: //addons.mozilla.org/en-US/firefox/downloads/file/5600/fasterfox-2.0.0-fx.xpi

So there is no longer a URI to the .xpi file

Can someone confirm this?
Nil illegitimi carborundum

mzfuser
Folder@Home
 
Posts: 1886
Joined: August 15th, 2004, 10:21 pm

Post Posted March 3rd, 2009, 7:24 am

Yes I can confirm that but you can try this:

The way I get the direct links is to go to the bottom of the addons page and under "Advanced Details" I click the Version #### link (where #### is the version number). On the next page the green buttons will have direct links:

Image

RDN
 
Posts: 51
Joined: October 3rd, 2005, 9:19 am
Location: Thailand

Post Posted March 3rd, 2009, 11:08 am

Thank you very much mzfuser!

So the link on the search results page no longer goes to the .xpi file, and neither does the link on the extension's own page at addons.mozilla.org.

But the link on the "Version History" page does.

So now it takes two more clicks to get to the page with the .xpi file link on it, but that's no big deal. The main thing is, I can save the file and re-install an old version if I get a conflict. (I have 97 extensions currently loaded! :) )

Thanks again, mzfuser.
Nil illegitimi carborundum

RDN
 
Posts: 51
Joined: October 3rd, 2005, 9:19 am
Location: Thailand

Post Posted March 4th, 2009, 12:41 pm

I just discovered that some of the "Version History" links do not give the link to the .xpi file, e.g. Hyperwords: https://addons.mozilla.org/en-US/firefo ... sions/1941

However, there are some sources of .xpi files that can be found, e.g. this one: http://mirror.umoss.org/mozilla/addons/1941/

So if you know the extension's number, the above link can be modified to get to that extension.
Nil illegitimi carborundum

Anonymosity
 
Posts: 8163
Joined: May 7th, 2007, 12:07 pm

Post Posted March 4th, 2009, 1:02 pm

For that link you just posted, if you click the green button, you get another page with a user agreement on it. If you right-click the button at the bottom of that page, you can choose Save and download that extension.

dickvl

User avatar
 
Posts: 51469
Joined: July 18th, 2005, 3:25 am

Post Posted March 4th, 2009, 2:23 pm

If you download and save such a link then you will notice that you do get a working xpi file, only the name is wrong, so you need to rename the file.
I've sometimes seen occasions where the name was right, so it may may a timing issue: the dialog is displayed before the name is resolved.
https: //addons.mozilla.org/en-US/firefox/downloads/latest/658

RDN
 
Posts: 51
Joined: October 3rd, 2005, 9:19 am
Location: Thailand

Post Posted March 5th, 2009, 7:33 am

Thanks Anonymosity and dickvl - you are dead right! Previously I had saved the link target and got a <extensionID>.htm file, e.g. "1941.htm" for the Hyperwords extension.

But, as you say, it is in fact the .xpi file!

Thanks for the tip.
Nil illegitimi carborundum

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 4 guests