How can I make my FireFox Browser AddOn Backwards Compatible?
Posted
by
bwheeler96
on Programmers
See other posts from Programmers
or by bwheeler96
Published on 2012-11-19T04:00:11Z
Indexed on
2012/11/19
5:25 UTC
Read the original article
Hit count: 437
I'm making a firefox browser add-on, and I just got all of the code working fine, but it will only install in FireFox 16, and I want it to be compatible at least from 10+, has anyone dealt with this issue?
I have my package.json pointing to my install.rdf, and my install.rdf clearly states target applications. Is there any additional setup I need?
here is my package.json
{
"name": "firefox-ext",
"license": "MPL 2.0",
"author": "",
"version": "0.1",
"fullName": "firefox-ext",
"id": "jid1-AMCw25iQJof53w",
"description": "a basic add-on"
}
and here is my install.rdf
.
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>jid1-AMCw25iQJof53w</em:id>
<em:name>Generic App</em:name>
<em:version>1.0</em:version>
<em:type>2</em:type>
<em:creator>Brian Wheeler</em:creator>
<em:description>Good Stuff</em:description>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.0</em:minVersion>
<em:maxVersion>19.0</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
I'm using the CFX CLI Tools to make this, so everything has been built and tested with
cfx init
, cfx run
, and cfx xpi
I just can't figure out compatibility with anything other than 16.
Also, major bonus points if someone could explain the advantages of a rapid release cycle, because it really seems to have shot 3rd party Mozilla developers in the foot in terms of software compatibility.
Thanks,
-Brian
© Programmers or respective owner