Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Last I looked (a couple of years ago), you could ask the user for read-write access to a directory in Chrome using the File System Access API, however you couldn't persist this access, so the user would have to manually re-grant permission every time you reloaded the tab. Has this been fixed yet? It's a showstopper for the most interesting uses of the File System Access API IMO.



Thanks, this looks like a very sensible behavior.


I also implemented this in the example site in the post.


Good question! Since this is an extension of input, I'm not sure if this is defined: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputEl....

On my desktop Chrome on Ubuntu, it seems to be persistent, but on my Android phone in Chrome, it loses the directory if I refresh.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: