diff --git a/OxFF/components/OxFF.js b/OxFF/components/OxFF.js index dfc42cb..634e823 100644 --- a/OxFF/components/OxFF.js +++ b/OxFF/components/OxFF.js @@ -361,6 +361,13 @@ OxFF.prototype = { }); }, } -//4.0 only -var NSGetFactory = XPCOMUtils.generateNSGetFactory([OxFF]); + +/** +* XPCOMUtils.generateNSGetFactory was introduced in Mozilla 2 (Firefox 4). +* XPCOMUtils.generateNSGetModule is for Mozilla 1.9.2 (Firefox 3.6). +*/ +if (XPCOMUtils.generateNSGetFactory) + var NSGetFactory = XPCOMUtils.generateNSGetFactory([OxFF]); +else + var NSGetModule = XPCOMUtils.generateNSGetModule([OxFF]); diff --git a/OxFF/install.rdf b/OxFF/install.rdf index e6a87be..c58aa3c 100644 --- a/OxFF/install.rdf +++ b/OxFF/install.rdf @@ -10,7 +10,7 @@ {ec8030f7-c20a-464f-9b0e-13a3a9e97384} - 3.5 + 3.6 4.0b9