MDN扩展无法正常工作

时间:2012-03-31 03:51:05

标签: javascript xml rdf mdns

我正在尝试安装附加组件,但它说onextension could not be installed because it's not compatible with Firefox 11但它是(我写的)。

这是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>onextension@somewhere.com</em:id>
        <em:version>2.0</em:version>
    <em:type>2</em:type>
    <em:name>onextension</em:name>
    <em:description>Find out who visits your Facebook profile!</em:description>
        <em:creator>Four Bananas</em:creator>
    <em:iconURL>chrome://onextension/content/images/icon.png</em:iconURL>
    <em:targetApplication>
        <Description>
                <em:id>{3A1C1C4C-7AE3-11E1-8AD9-A6AA4824019B}</em:id>
                <em:minVersion>3.5</em:minVersion>
                <em:maxVersion>11.*</em:maxVersion>
        </Description>
    </em:targetApplication>
</Description>
</RDF>
你能帮帮我吗?谢谢!

1 个答案:

答案 0 :(得分:0)

你的目标应用程序em:id应该是 {ec8030f7-c20a-464f-9b0e-13a3a9e97384}这是Firefox的ID