Updating extensions for Firefox 3

  • Revision slug: Updating_extensions_for_Firefox_3
  • Revision title: Updating extensions for Firefox 3
  • Revision id: 114643
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment new page

Revision Content

{{template.Fx_minversion_header(3)}}{{template.Draft()}} This article provides information that will be useful to developers that wish to update their extensions to work properly under Firefox 3.

{{template.Note("This article is extremely preliminary and is essentially just a stub. More detailed information is forthcoming as we get farther along in the Firefox 3 development cycle.")}}

Step 1: Update the install manifest

The first step -- and, for most extensions, the only one that will be needed -- is to update the install manifest file, <tt>install.rdf</tt>, to indicate compatibility with Firefox 2.

Simply find the line indicating the maximum compatible version of Firefox (which, for Firefox 2, might look like this:

 <em:maxVersion>2.0.0.*</em:maxVersion>

Change it to indicate compatibility with Firefox 3:

 <em:maxVersion>3.0.0.*</em:maxVersion>

Then reinstall your extension.

There have been (and will continue to be) a number of API changes that will likely break some extensions. We're still working on compiling a complete list of these changes.

Revision Source

<p>{{template.Fx_minversion_header(3)}}{{template.Draft()}}
This article provides information that will be useful to developers that wish to update their extensions to work properly under Firefox 3.
</p><p>{{template.Note("This article is extremely preliminary and is essentially just a stub.  More detailed information is forthcoming as we get farther along in the Firefox 3 development cycle.")}}
</p>
<h2 name="Step_1:_Update_the_install_manifest">Step 1: Update the install manifest</h2>
<p>The first step -- and, for most extensions, the only one that will be needed -- is to update the <a href="en/Install_Manifests">install manifest</a> file, <tt>install.rdf</tt>, to indicate compatibility with Firefox 2.
</p><p>Simply find the line indicating the maximum compatible version of Firefox (which, for Firefox 2, might look like this:
</p>
<pre class="eval"> <span class="plain">&lt;em:maxVersion&gt;2.0.0.*&lt;/em:maxVersion&gt;</span>
</pre>
<p>Change it to indicate compatibility with Firefox 3:
</p>
<pre class="eval"> <span class="plain">&lt;em:maxVersion&gt;3.0.0.*&lt;/em:maxVersion&gt;</span>
</pre>
<p>Then reinstall your extension.
</p><p>There have been (and will continue to be) a number of API changes that will likely break some extensions.  We're still working on compiling a complete list of these changes.
</p>
Revert to this revision