Javascript 安装Firefox插件问题
我正在尝试安装我自己的firefox插件。我遵循教程。但每次这都会给我以下错误:-Javascript 安装Firefox插件问题,javascript,firefox-addon,Javascript,Firefox Addon,我正在尝试安装我自己的firefox插件。我遵循教程。但每次这都会给我以下错误:- Firefox could not install the file at file:///home/ubuntu/googbar.xpi because: Install script not found -204 该错误意味着您的文件没有一个。请注意,它需要位于XPI归档的顶层。因此,可能您打包文件时出错,并将install.rdf放入子目录中。您可以使用unzip-l googbar.xpi命令检查
Firefox could not install the file at
file:///home/ubuntu/googbar.xpi
because: Install script not found
-204
该错误意味着您的文件没有一个。请注意,它需要位于XPI归档的顶层。因此,可能您打包文件时出错,并将
install.rdf
放入子目录中。您可以使用unzip-l googbar.xpi
命令检查文件列表,它应该列出install.rdf
,前面没有目录名。您有正确的install.rdf文件吗。如果可能的话,你能分享你的代码吗?还要确保正确打包xpi文件。