Third party JS libraries I use are often updated and therefore need to be referenced externally in my extension's html pages. This means they need to be included in the Content Security Policy, which causes its own problems.
I'd like to update these libraries in-place, right in my extension directory. I'm not looking to save to the computer's local directory. I know how to read from the extension's csv and text files with AJAX. Is it possible to write to such files in the extension's package directory?
If such a thing were possible, it would be useful to save csv files or text files in my extension directory rather than in local storage. Particularly with large files.