Firefox插件兼容性

时间:2011-02-15 15:12:54

标签: firefox-addon compatibility

<em:targetApplication>
  <Description>
    <em:minVersion>1.5</em:minVersion>
    <em:maxVersion>3.6.16</em:maxVersion>
  </Description>
</em:targetApplication>

获得某些firefox插件兼容性的唯一声明还是还有其他声明吗?

我正在尝试使用显示的声明创建我的第一个扩展。当我安装我的插件时,firefox告诉我该扩展程序与安装的浏览器版本不兼容(3.6)

1 个答案:

答案 0 :(得分:1)

您还需要应用程序的ID。例如。对于Firefox:

<em:targetApplication>
    <Description>
        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
        <em:minVersion>1.5</em:minVersion>
        <em:maxVersion>3.6.16</em:maxVersion>
    </Description>
</em:targetApplication>

更新:如果没有看到所有代码,很难说它为什么不起作用。我建议你阅读this tutorial