为 firefox 插件编写 XUL 文档的最佳方法是什么?

What are the best ways to write XUL documents for a firefox addon?

我想知道现在Firefox Add-on开发者使用的编写XUL文档的辅助工具有哪些。

两种方法:

方法一:Live Editor:ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul 需要使用白名单插件才可以使用站点:addons.mozilla.org/en-US/firefox/addon/remote-xul-manager

方法 2:重新启动插件开发并使用 GitHubExtensionInstaller 和 Pull Request 10 等快速安装,其中不需要为测试进行保存:https://github.com/diegocr/GitHubExtIns/pull/10 然后您可以编辑 XUL 文件,无需提交,单击安装,它会弹出打开您的 xul 文件(bootstrap.js 告诉 xul 文件弹出)。例如,在这个 repo 上完成了:https://github.com/Noitidart/l10n/tree/bugzilla_id%3D1121322 这是我更喜欢的方法,因为所有依赖项,chrome.maniest 等都在起作用。