Hacker News new | past | comments | ask | show | jobs | submit login

You can also use localstorage/indexeddb and keep syncing it with a script element of type text/json. On-load, see if localstorage is gone (different browser, domain, etc.) and restore from the script element if that's the case.

I explicitly do not want such a thing in many of my HTML-apps, but one could add it with relative ease.




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

Search: