1

我尝试使用本地打开的 html 文件中的文件系统 api,而不是通过 web。因此没有关联的域。

是否有允许在本地启动 html 时使用本地文件的 api(例如 file:///abc.html)。

我试过了

window.requestFileSystem 

和 webkit 变体。但是,这仅在从 http://abc.html调用时有效,但在调用file://abc.html时无效:

我在 Windows 上使用 chrome 26...

4

0 回答 0