Firefox的问题;舱单;文件

Firefox的问题;舱单;文件,firefox,firefox-addon,xul,manifest,firefox3.6,Firefox,Firefox Addon,Xul,Manifest,Firefox3.6,我在Firefox 3.6.13上试用 本教程中的示例扩展名用于查找文件。这是我的清单文件: content findfile file:///home/darthshak/Programs/firefox/findfile/content/ skin findfile classic/1.0 file:///home/darthshak/Programs/firefox/findfile/skin/ locale findfile en-US file:///home/darthshak/Pr

我在Firefox 3.6.13上试用

本教程中的示例扩展名用于查找文件。这是我的
清单
文件:

content findfile file:///home/darthshak/Programs/firefox/findfile/content/ skin findfile classic/1.0 file:///home/darthshak/Programs/firefox/findfile/skin/ locale findfile en-US file:///home/darthshak/Programs/firefox/findfile/locale/ 现在,当我执行以下命令时,该死的东西永远不会运行:

firefox -chrome chrome://findfile/content/findfile.xul 此外,当我使用“在新窗口中打开”选项启动
findfile.xul
时,什么也没有出现。然而,只有当我选择“在新选项卡中打开”或“启动”时,它才起作用


我尝试了很多方法(显然,除了解决这个问题的正确方法之外),包括重命名
.xul
文件、更改
findfile.manifest
文件等等。奇怪的是,当我在
/home/darthshak/.mozilla/
chrome
目录中添加清单文件时,清单甚至没有在
ChromeList

上注册。您是否尝试过:chrome://findfile/content/content/findfile.xul ? 顺便说一句,我不认为你这样做对你的测试是最好的。实际上,这很糟糕,因为您无法打包扩展并在Firefox中安装它。试试上面的chrome链接,我会告诉你更多的细节。最好在磁盘上添加扩展的文件夹结构(这可能与ChromeList显示的不同),是的,那个教程页面对我也不起作用。我尝试使用-chrome参数启动firefox,但没有显示任何内容。我假设firefox出于安全目的不会从文件系统读取XUL文件。你需要为Firefox打包扩展才能阅读它。嗨,你仍然有这个问题。我想为这个问题提出一个解决方案。@darthshak:你能告诉我开发环境吗? firefox -chrome chrome://findfile/content/findfile.xul
findfile/
    content/
        content/
            findfile.xul
        skin/
        locale/
    skin/
        content/
            findfile.xul
        skin/
        locale/
    locale/
        content/
            findfile.xul
        skin/
        locale/