Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请我是构建 Chrome 扩展程序的新手。用户安装扩展后,我希望他们通过指定应用程序可以保存文件的目录来配置它。我想通过打开一个保存文件对话框来做到这一点,这样他们就可以浏览到他们选择的文件夹。我该怎么做呢?
答案是 Chrome 扩展 API 中没有办法在 Chrome 提供的沙盒文件系统之外写入文件。理论上这可以通过在 C 中编写一个接口然后调用它来完成,但到目前为止我还没有看到一个成功的实现。