我刚刚在Firefox扩展程序中设置了所有内容。现在我需要将它安装到实时Firefox中,并且我遇到了麻烦。我得到了.xpi文件,里面有我的清单。一切似乎都很顺利,我甚至得到了这个屏幕:
但是点击安装并重新启动Firefox后,没有安装任何内容。
这是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>canoncheck@canoncheck.com</em:id>
<em:version>1.0</em:version>
<!-- Target Application this extension can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<!-- Firefox's UUID -->
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.0.*</em:minVersion>
<em:maxVersion>34.0.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Front End MetaData -->
<!-- Extension Information -->
<em:name>Canon Check</em:name>
<em:description>Check for canonical links in the loaded page.</em:description>
<em:creator>Jase Pellerin</em:creator>
<!-- Front End Integration Hooks (used by Theme Manager)-->
<em:internalName>canoncheck</em:internalName>
</Description>
</RDF>
任何想法弄乱了什么?我认为是上述情况。我将在此处使用模板创建一个新模板:https://developer.mozilla.org/en-US/docs/Extension_Versioning,_Update_and_Compatibility