Board Thread:The Last Sovereign Discussion/@comment-29984007-20180410151643/@comment-33667241-20180709144803

DukeLeto7 wrote:

It might be possible to interact with a local file using the HTML5 API, there might be some workaround with a godawful mass of cookies to get states to persist, but that kind of defeats the goal of having a simple read and write of all the elements in the document collection to make a simple save/load function that doesn't need to be modified as new content is added. There may be some other workaround I'm not thinking of. Cookies don't work when a file is accessed via file-protocol (file://) so that won't work. You can use the Web Storage API to save a session though: https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API

Ah and here is the upload-part to the download-utility: https://stackoverflow.com/questions/3582671/how-to-open-a-local-disk-file-with-javascript