javascript - How do I actually add Filesystem Access API to javascript?
问题描述
I've found this https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API to allow javascript to access the local file system. I feel really dumb, but I can't find anywhere that talks about how to actually add the api. I would really appreciate some help on just getting the first step.
解决方案
您不需要添加 API;它已经存在,或者它不存在。页面上有一个图表,其中包含有关浏览器和支持版本的信息。
我在 Chrome 中使用它。Firefox 应该支持它,但我的本地机器上没有它……我的版本可能太旧了。
推荐阅读
- vba - 邮件合并电子邮件与同一帐户相关的多条记录
- testing - 测试 django celery,与数据库交互?
- r - 缺少参数“nm”,没有默认值
- asp.net-core - EF Code First ApplicationUser 需要 DateTime 未添加
- memory - 通过命令行在 RAM 中存储一些文本
- java - 使用泛型类型实现 Java 接口的类:警告“类型安全:返回类型...需要未经检查的转换以符合”
- mqtt - Sonoff RF Bridge to Mosquitto(在 Windows 上)配置
- python - OpenCV 无法从文件中读取视频流
- node.js - 在 mqttjs 中发布多个缓冲区
- powershell - 使用 gMSA 帐户执行命令