2011-02-15 97 views
0
<em:targetApplication> 
    <Description> 
    <em:minVersion>1.5</em:minVersion> 
    <em:maxVersion>3.6.16</em:maxVersion> 
    </Description> 
</em:targetApplication> 

唯一的聲明誰得到了一些Firefox插件的兼容性還是有其他?Firefox插件兼容性

我想創建我的第一個擴展whith顯示的聲明。當我安裝我的插件Firefox時告訴我,該擴展名與瀏覽器的安裝版本不兼容(3.6)

+0

這是`install.rdf`中唯一的代碼嗎?我希望不是。 – 2011-02-15 15:46:09

+0

你可以發表評論來回答你自己的問題。請不要添加不回答問題的新答案。 – 2011-02-15 18:07:18

回答

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