HigherFox

June 9, 2008 19:59

UPDATE 6/25/2008: I’ve made a few changes to the source code and updated the executable to deal with some compatibility issues with extensions that don’t employ the “em:” prefix in install.rdf. Also, the application should no longer leave the temp directory around if it fails to patch the file. If you’re encountering either of these issue, please try the newer version.

If you follow the beta and RC builds of Firefox, you’ve probably found that at least a few of your add-ons from previous versions are blocked with the new builds, ostensibly for compatibility reasons. If you’ve done a bit more digging, you’ve probably found that there are some ways around this blocking, which involve opening the .xpi extension files (which is really just a renamed .zip), making changes to the maxVersion attribute of install.rdf, and updating the archive.

While this isn’t a terribly difficult process, it can be a bit of pain if you have a number of .xpi’s that you want to update. To make this process a bit easier, I threw together a quick application that makes the process a good deal simpler, by allowing you to drop target one or more xpi files and have them automatically patched up to whatever version you specify.

image

HigherFox simply extracts the contents of the .xpi files that are dragged onto it, updates the maxVersion attribute for Firefox (it doesn’t touch values for Flock, Netscape, etc.), and then repacks all the components into a new archive that is save at the source location as <original_xpi_name>_patched.xpi.

It goes without saying that patching .xpi files is a poor alternative to installing official releases from the author. Moreover, there is no guarantee that the extension will actually be compatible in the version of Firefox you’re running. However, if you’re still waiting for your favorite plug-in to be officially updated, this might just be the hack that you’re looking for.

Thanks to DotNetZip for their nice little ZIP library that let me keep this in a single executable!

Download HigherFox (26K)

Download HigherFox Source Code (58K)


6 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Comments

June 13. 2008 00:28

Yitzchok

This is very nice Eric and will come a lot to use Smile Thanks a bunch

Yitzchok

June 18. 2008 02:55

Bob Baker

Links to your utility (binary and source) do not work. I tried variations like thelonio/content/HigherFox.zip to no avail.

Bob Baker

June 21. 2008 14:08

Eric Kemp

That's strange... Links work for me in both Firefox and IE... Can you give them another try?

Eric Kemp

June 24. 2008 16:01

Bob Baker

I can send you a screen shot with Snagit from either IE7 or FireFox3. Both result in a feedburner url error. This is the url it is trying to get to: http://feeds.feedburner.com/content/HigherFox.zip. If I paste this url into a new IE7 or FireFox 3, I get the same feedburner error page. Weird

Bob Baker

June 25. 2008 18:29

Eric Kemp

Ah... that explains it... Looks like FeedBurner doesn't know how to correctly deal with relative links...

I've made the download links fully qualified, which I believe will take care of the problem. If for some reason it doesn't, the direct links are:

http://monk.thelonio.us/content/HigherFox.zip
and
monk.thelonio.us/content/HigherFoxSource.zip

Eric Kemp

February 16. 2009 12:52

Jeff Klawiter

The nightly tester tools lets you install extensions for older versions of FF. It's meant for developers.

Don't expect this to work with any signed extension (there are a few out there, google signs their extensions). While I can't remember if the install file gets hashed with the signing cert, the structure of the XPI is extremely crucial. The certificate file needs to be the first in the zip no matter what. You'd be surprised how few zipping utilities actually put things in the file in the order you added them.

Jeff Klawiter

Comments are closed