Thomas Nybergh’s pages

  • Home
  • About
  • Notes
  • På svenska
  • Suomeksi
  • Notes and essays updates feed
«One day of Firefox 3 Beta 2 (and CSLite)
Internet “child porn” censorship in Finland »

Editing XPI files to get rid of some version restrictions in Firefox-extensions

Tuesday, December 25th 2007, 0:54 UTC Published in in English, internet, notes, software

Not much time passed after I posted my previous entry about using Firefox 3 Beta 2 as my main browser until I realized that while I had browsed around for almost a day without much trouble, I hadn’t used Ajax heavy sites such as Facebook and WordPress’ admin interface.

As soon as I started using modern, flashy sites in an interactive way, trouble with blank pages and elements such as text editors not loading, grew from being occasional, to irritating enough to make me upgrade to the latest trunk release of “Minefield 3.0b3pre”. These builds, I’ve used two so far thanks to autoupgrading, work much better than Beta 2.

CSLite‘s XPI-installer (version 1.3.5) had to be edited to install on the trunk build. XPIs are are zip-archives, which means that it’s trivial to extract, edit and add a new install.rdf to the archive to get rid of some version restrictions in XUL programs that use “Firefox-like” extensions.

I changed line number 63 in install.rdf to the following

<i:maxversion>4.0b2</i:maxversion>

What the value is changed to doesn’t really matter (now, that’s a lie), one would just want it to be higher than 3.0b2. Backing up your Firefox profile before doing things like this is of course a good idea, but breakage is in my experience most unusual, at least if the restrictions made in install.rdf are artificial and you don’t do anything more stupid to your Firefox profile.

I have a copy of my edited CSLite 1.3.5 for use on my own systems, but I’m not a trusted source and my copy is most likely outdated by now, and the issue I’m describing irrelevant, so get your own copy.

Leave a Response

Where am I?

You've landed on Thomas Nybergh's personal site. This section is an occasionally expanded essay collection.

For more timely updates on things I find interesting, follow my link blog or Twitter silliness.

My contact details are listed here as well.

RSS Things I’ve posted recently

  • Tarjouspyyntö www.kuvalauta.fi -sivuston hostaamisesta
  • Tarjouspyyntö www.kuvalauta.fi -sivuston hostaamisesta
  • Tarjouspyyntö http://www.kuvalauta.fi -sivuston hostaamisesta http://j.mp/cwuyZV
  • So, here's my lengthy excuse for posting a rapey Assange related link pointing towards Valleywag of all places: http://j.mp/alAzGT
  • Okay, it’s Valleywag, but here’s a supposed Wikileaks/Assange police report leak
  • RT @JoonasD6: "we learn that Assange's preferred method of seducing groupies is to feed them cheese." http://u.nu/5y62f #piratpartiet #wikileaks
  • RT @nexenta: Reading Simon Crosby on Open Source does not mean Interoperable or Compatible http://community.citrix.com/x/XADnBw
  • Pirate, warez scener, Fairlight founder, GOP chairman
  • The shutdown of Chatroulette is a fine example of the problems w/ "cloud computing." Your favorite masturbation tools can be gone any minute
  • Group of shitfaced teens lit cigarettes on a packed bus last night. Got an apology by asking them to at least pass around a spliff next time
  • Chat Roulette Removed? http://chatroulette.com (via @hackernews)
  • Web design. http://www.viialanleipomo.fi
  • Mad Men is notable for its subtly dramatic take on alcoholic 60's advertising creatives, their women and other property.
  • On the other hand, autoposting links like some SEO webdick would challenge me to keep the signal/noise ratio of @omglog better than before.
  • Wondering if it's too douchy to autopost the feed of my @omglog posts to my Twitter account. The issue is linking to a blog w/ mostly links.


©2010 Thomas Nybergh
This site runs on WordPress using a slightly modified Gridline Lite theme.