Modifying earlier Extensions to work on a more recent Version of Firefox
chiaroscuro Sat, 11/29/2008 - 14:00
_________________________________________________________________________________________
Some earlier Firefox extensions, for one reason or another, may have not been updated to work on the latest Version of Firefox.
This is often very frustrating, as one may have found the extension very useful in the past.
Sometimes one can get round this problem oneself in the following manner:
__________________________________________________________________________________________
The key to resolving this question lies in the Program 7-zip.
Please download here
Learnt about 7-zip from a helpful post by Mafia_Penguin here
__________________________________________________________________________________________
The first stage is to download a copy of the .xpi of the Extension one wishes to modify.
There are different ways of doing this.
________________________________________________________________________________________
1. The most elegant perhaps is to use Mr Tech Toolkit.
Go to AMO (Mozilla Add-ons) right click on Add to Firefox and you see the option Archive XPI
Once you have set up the Archive folder this is extremely fast and easy to do.
Thank you Mr Tech for this.
You may find on older extensions that the Mr Tech prompt does not appear on the AMO front page,
To remedy this click on See All Versions, the prompt will usually appear there.
_________________________________________________________________________________________
2. Another option is to right click on Add to Firefox and chose the option "save link as"
You will then have the following prompt:
_________________________________________________________________________________________
3 A third option is to use Internet Explorer. As it cannot install the .xpi file directly you are offered the option to save the file. In some situations you may find this method convenient. It is not the recommended method.
_________________________________________________________________________________________
_________________________________________________________________________________________
OK so we now have the .xpi
-
-
-
Modifying the .xpi
_________________________________________________________________________________________
Right click on the file and select the following option.
7-zip
Open archive
What 7-zip is doing is helpfully offering us the option to view the files without extracting them.
_________________________________________________________________________________________
What happens next is that 7-zip, again most helpfully, offers us the option to edit the install.rdf file while it is still in the archive.
Select the file (install.rdf) and then Right click on the file and select edit.
It is the install.rdf file that needs to be modified slightly.
_________________________________________________________________________________________
Once we go into Edit mode and look through the install.rdf file we will find the following information
You can see the line which includes the words maxversion.
This is saying that the file should not be intalled in a higher Version of Firefox than the one mentioned.
This is the information that we need to change.
Modify the text
Here the maxversion reads 2.0.0.*
This could be changed for example to: 3.0.*
Only the integers need changing.
And exit the Edit mode
At this point 7-zip most helpfully gives us the option to update the file in the archive.
Hit OK
And then close the Archive.
The .xpi file that you have left in front of you will have been modified
So you can now drag and drop it into your Add-ons and see if it works.
If you find there is a problem try re-editing the integer value.
________________________________________________________________________________________
The explanation here may seem rather lengthy, but you will find when you have done this a few times that it can be a really fast process.
________________________________________________________________________________________
So what 7-zip has helpfully allowed us to do is to edit the install.rdf file in situ, and allow us perhaps to continue using an extension that has fallen from grace.
_________________________________________________________________________________________
Thank you 7-zip
________________________________________________________________________________________________
_________________________________________________________________________________________
Another approach to this whole question is to use Nightly Test Tools.
Please see this post by Mafia_Penguin
_________________________________________________________________________________________
- Printer-friendly version
- 0
- 0 votes
Search logos
Search site
Navigation
User login
Online users
Active - 15 mins:
Recent comments
-
Thanks for picking out theby: peter6542 min 50 sec ago
-
What is an outstanding post!by: peter6545 min 37 sec ago
-
This article was written by aby: peter6548 min 28 sec ago
-
A very excellent blog post. Iby: peter65410 min 59 sec ago
-
At UltraVapeMint, we’reby: hammadamir9011 min 4 sec ago
-
Remarkable article, it isby: peter65421 min 49 sec ago
-
I think this is anby: peter65429 min 31 sec ago
-
Nice post! This is a veryby: peter65433 min 5 sec ago