Update: I don't think this is being caused by itch. I think it's something to do with Brave (or my Brave settings) and the fact the game is loaded in an iframe, as I've repeated the process on Edge and haven't had the issue on it for a good while (and it was pretty frequent).
Hi all!
I've moved a couple of web games from my own site to itch.io. They use localStorage to save progress. I'm finding that once in a while like every half hour or so the local storage data is just... gone.
itch seems to use html-classic.itch.zone for hosting the actual game, and that's not changing. So the only thing I can think of is that localStorage is being explicitly cleared by a script on html-classic.itch.zone, or maybe somehow my browser is dong it, or maybe I'm doing something wrong (but I've re-checked several times I never noticed this issue before the move).
Has anyone else experienced this? If I know it's a known thing I can start doing something about it. If it's not a known thing then it must be something I'm doing lol.
I've seen some other topics about it, they mention the transition from some other CDN to html-classic but the conclusion of the other topics seem to be that localStorage should be working as normal under the new html-classic.itch.zone domain.