firefox-addon - 从 Firefox 扩展访问文件系统

标签 firefox-addon

是否可以创建一个 Firefox 扩展来写入 Windows 文件系统中的文件?

最佳答案

是的,见 this page举些例子。

编辑

XPCOM等nsIFile现在是遗留技术:

Use of OS.File is preferred over the examples in this article. Only use these legacy interfaces if OS.File is not available to you.



您可以找到新的出行方式 here

关于firefox-addon - 从 Firefox 扩展访问文件系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2316708/

相关文章:

javascript - 检查是否存在带有 Firefox 扩展的 Javascript 的 URL

Firefox 附加组件 SDK : how to make Panel transparent

javascript - 如何模拟鼠标点击 Firefox 扩展中的任何 HTML 元素(iframe、对象等)?

javascript - 火狐扩展 : Inject javascript into page before standard page javascript is loaded

javascript - 包含自己的模块不适用于 firefox sdk require

html - 是否有类似于 View Source Chart 的 Firefox 3 插件?

xml - "collapse all"在firefox或chrome中一键所有节点

javascript - 在页面重新加载之前,Firefox page-mod 扩展在第一个子页面之后不运行

css - 使用 listStyleImage 属性更新 Firefox toolbarbutton

javascript - readStringReplaceMalformed()函数在22以下的Mozilla Firefox版本不起作用吗?