从Firefox扩展中访问文件系统 [英] File System access from Firefox Extension

查看:158
本文介绍了从Firefox扩展中访问文件系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,请参阅<举例来说,一个href =https://developer.mozilla.org/en/Code_snippets/File_I/O =nofollow noreferrer>这个页面

XPCOM等 nsIFile 现在是传统技术: p>


使用 OS.File 优于本文中的示例。


您可以找到新的方法这里


Is it possbile to create a firefox extendsion to write to files in a windows file system ?

解决方案

Yes, see this page for examples.

Edit

XPCOM and so nsIFile are now legacy technologies :

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.

You can find the new way to go here

这篇关于从Firefox扩展中访问文件系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆