I'm coding (or at least trying to code) a single player game in pure JS. I was wondering how I was gonna be able to write data without having the user setting up a server or a database, only way I found is local storage.
I'm aware that this kind of data is attached to the browser but I don't think someone would swap between browser, IMHO people start with one and stick to it. What I'm more concerned about is what else in the local system can modify this storage?
For instance, can cleaning up applications remove the JSON I put in there?