Chrome Extension how to write file in Extension Directory

梦想的初衷 提交于 2020-01-15 05:27:06

问题


This is just a quick question regarding chrome extension file writing.

Is it possible to write a file in the chrome extension directory? (by that I mean write a file in the same folder where I have my manifest file and other scripts)

So far I have found out I can read a file in the directory via XMLHttpRequest but I have found no answer as to whether or not writing a file there is possible.

Thus far I have found out I could write files in the browser via the HTML5 file system API but to my knowledge that doesn't appear to write files in the directory of the chrome extension.

来源:https://stackoverflow.com/questions/52268388/chrome-extension-how-to-write-file-in-extension-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!