How to use chrome extension filesystem api?

Hi as example i want to read

c:/x.txt

as text

and write? is there any example about chrome.fileSystem ?

Notice : I don't want to ask the path of file to user


Already answered at Chrome Extension HTML Filesystem Access, I think. Note that chrome.fileSystem only exists in apps, not extensions.

To just read files, try asking for the file:///* host permission.

链接地址: http://www.djcxy.com/p/11628.html

上一篇: Brainfuck修改版本的完整性

下一篇: 如何使用chrome扩展文件系统api?