[Firstfield] A cheat to use FF-1.1 on Firefox 1.0 or above

harpy at lily.freemail.ne.jp harpy at lily.freemail.ne.jp
Thu Jun 9 02:10:21 EDT 2005


firstfield-1.1.xpi cannot be installed on Firefox 1.0 or above,
since FF-1.1 limits supporting versions of Firefox 0.9 to 0.10 .

Here is a cheat to ignore the limit.

Download firstfield-1.1.xpi and unzip it.
It contains install.rdf and chrome/ directory.

$ unzip firstfield-1.1.xpi
Archive:  firstfield-1.1.xpi
  inflating: install.rdf
   creating: chrome/
  inflating: chrome/firstfield.jar

Edit install.rdf by a text editor
and change maxVersion 0.10 to 1.0.99 .

$ diff install.rdf install.rdf.orig
23c23
< <em:maxVersion>1.0.99</em:maxVersion>
---
> <em:maxVersion>0.10</em:maxVersion>

Re-archive the modified resources.

$ zip -r firstfield.xpi install.rdf chrome
  adding: install.rdf (deflated 52%)
  adding: chrome/ (stored 0%)
  adding: chrome/firstfield.jar (deflated 12%)

Now, firstfield.xpi is the modified version of firstfield-1.1.xpi .
Access firstfield.xpi by your Firefox.

Or, make a installer HTML such as:

$ cat index.html
<html>
<head>
<title>firstfield installer</title>
</head>
<body>

<a href="firstfield.xpi">install firstfield</a>

</body>
</html>

And access the installer HTML.



More information about the Firstfield mailing list