Thursday, May 8, 2008

Upgrading unupgradable Firefox extensions


To their bad fortune, many of you may have already upgraded to Firefox 3 beta. Ouch!
You may have also tried to upgrade your extensions and found most of them failed to do :(
Now you have either of 2 solutions:


  1. downgrade back to Firefox 2
  2. force upgrade of your extensions

"2" seems nice, huh?
OK, lets go straight, now follow me on these:


  1. Any extension is an .xpi file (pronounced as zippy), download the .xpi. If you click on a .xpi link in Firefox it will be installed instead, so you can get it with any other browser, or right-click and Save as... You can also type the following in a shell: wget XPI_URL
  2. Extract the .xpi with any archive manager (it is actually a ZIP file renamed)
  3. Open install.rdf with any text editor
  4. Locate the line: ... and replace this value to something like 3.0b5. This will make your extension pretend to work on up to FF3 beta5!
  5. Now zip back your files and drag on any Firefox open window and it will automatically install.
  6. Enjoy!

IMPORTANT:


  • The new archive you created in step 5 MUST have the extension .xpi
  • Files in the archive should be directly on the root not inside an internal directory
  • The extension will claim to work on your browser, but it may not function as you expect, simply because the extension maker did not test it on your version. So forcing it to work is solely on your responsibility with NO WARRANTY!

No comments: