Re:Show HN: garlic.js - don't let your users lose their form...
by mh- on Saturday November 10, 2012 @06:39PM
(#4768156)
what about when the browser crashes?
Re:Show HN: garlic.js - don't let your users lose their form...
by benschwarz on Saturday November 10, 2012 @06:49PM
(#4768187)
Sure, if you think thats a valid use case to build for. I don't.
Re:Show HN: garlic.js - don't let your users lose their form...
by jonknee on Sunday November 11, 2012 @09:02AM
(#4769502)
Why not? This is a plug-in aimed to help in the event something happened with the browser window. Besides accidently closing it there aren't many other scenarios where this plug-in would be useful.
Which leads me to an aside — Why did you choose localStorage over sessionStorage?
For those who don't know — local/session are the same, only session will be cleared when the browser is closed.
My browser already auto completes form data… so I'm not sure I'd need it between sessions.