首页 文章

Firefox插件兼容性

提问于
浏览
0
<em:targetApplication>
  <Description>
    <em:minVersion>1.5</em:minVersion>
    <em:maxVersion>3.6.16</em:maxVersion>
  </Description>
</em:targetApplication>

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

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

1 回答

  • 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>
    

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

相关问题