日期:2014-05-17  浏览次数:20642 次

firefox插件发布问题
困扰了好久,没找到解决办法,希望能得到本版高人指点一下!

现在有一个用npapi 写的一个火狐插件,编译成dll了,xpi打包文件结构如下

plugins/demo.dll
install.rdf

rdf文件内容如下:
XML code

<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>{888806DC-AFFE-4691-82C5-FA0148A7E2D4}</em:id>
<em:name>application/demo</em:name>
<em:version>1.0</em:version>
<em:type>2</em:type>
<em:description>a demo</em:description>
<em:creator>G-NET</em:creator>
<em:homepageURL>http://192.169.1.76/</em:homepageURL>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>6.0.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>


做的只是一个简单的插件,之前火狐是4.0版本的时安装这个xpi没问题。之后装了火狐6.0就无法再安装该插件了。在网上找了一些办法尝试修改了rdf再打包xpi,还是无法安装。请问,我该怎么做呢?


------解决方案--------------------
探讨

没人回答,送分给楼下!