Remix.run Logo
modeless 4 hours ago

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.

vbezhenar 3 hours ago | parent | next [-]

Yes, it was improved.

https://developer.chrome.com/blog/persistent-permissions-for...

modeless 3 hours ago | parent [-]

Thanks, this looks like a very sensible behavior.

nezhar 3 hours ago | parent | prev [-]

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.