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

I'd love to switch direct to this, but it needs Firefox to support OPFS or for some form of IndexedDB workaround akin to absurd-sql to be upstreamed for my use case where I'd like storage to be persistent.

At least Firefox OPFS is under development and looking at the tracking ticket seems to have accelerated in January



For the others that weren't familiar, OPFS === Origin Private FS. https://developer.mozilla.org/en-US/docs/Web/API/File_System...


That's exciting about Firefox, though I really wish that firefox would support OPFS in such a way as to allow selecting the directory where the files are located, beyond just persistence, there are some use cases where that is required (vscode.dev for example).


Unfortunately, the whole point of OPFS is to not do that. Mozilla and Apple thought it'd be bad for security to let you read/write arbitrary files/folders on the real file system, even with a permissions dialog, so a fake filesystem only viewable by an individual website was the compromise solution that everyone agreed to implement.




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

Search: