It seems really easy to trip up Safari into trashing localStorage, even before its 7-day window. For example, if I load the same site in private browsing mode, then go back to the regular session, the cookies remain but not localStorage. Seems like a bug, or privacy protection gone awry.

Dr. Adam Procter

I think for nodenogg.in p2p we will be encouraging to add as web app which I think isn’t as aggressive

Karl Dubost

@manton Do you have steps to reproduce? Or even a minimal testcase that would be great. And could you report it on bugs.webkit.org/ ? Thanks

Manton Reece

@karlcow Thanks, I’m doing a lot with this right now so I’ll think about whether I can reproduce it, or at least file it in a useful way.

Keegan Sands

weird I recently had an issue where my Wordle stats disappeared. I still use an OG version I host and it stores in LocalStorage. Wonder if it was the same thing. I was able to back into my stats and update it via Safari dev tools.

Manton Reece

@keegsands Could be! I wish the browser offered more control over this. Actually says a lot that you can clear cookies and storage in the prefs, but can’t copy or export any of the data.

Manton Reece @manton
Lightbox Image