Tip: How to open, unpack or extract *.xpi files
Posted on 19 September 2009
A file with the extension XPI (pronounced zippy) contains a Firefox browser extension. If you are curious about what will be installed if you click on a link containing an XPI resource, you may want to have a look inside.
Extracting XPI
To extract or unpack the XPI, you can rename the file to *.ZIP and open it in your favorite unzip tool. Internally, just like a JAR file, an XPI is basically nothing more than a PKZip compatible archive which you can view and modify using any ZIP utility.
About XPI
An XPI file follows certain guidelines. Once you open it in your favorite unzip program you can see something like in the screenshot (I use WinRAR). And XPI contains the compiled code of a plugin. Understanding the contents of an XPI is rather technical and requires insight knowledge of building plugins for Firefox. Unless you know what you are looking for, it can be hard to find anything useful inside this file.
Some other information on XPI
If your web server also serves XPI files, it must do so with the MIME type application/x-xpinstall.
A valid XPI archive starts with the hexadecimal values 0×50 0×4B 0×03 0×04. A damaged or corrupted file can sometimes be recovered by unzip utilities like WinZip or WinRar. An XPI file contains executable code. Do not install a plugin if you don’t trust the site where you got it from.
– Abel –
Just to let you know: the blog is active again (you may have noticed that for a few months there were no updates). The reason was simple: it was hosted on a thin line and needed upgrading. It took a long while to find a reliable hosting provider, not too expensive, and with enough flexibility… read article
Visual Studio 2010 is yet to become full beta 2, but employees already saw the preview and the final release date is announced. In a few days, it’ll finally hit the market. Be ready to download this cool new version packed with new features. A little article on an estimated roadmap until the final release date — read article
Let’s try something new, let’s try Pinax! That’s one of the very few rather mature CMS’s around that have been developed completely in Python, with the Django framework as its basis. This article talks the non-Pythoneer through the installation process step by step. It only takes a few minutes! — read article
No responses yet. You could be the first!
Leave a Response
Additional comments powered by BackType














