Comment

Comment by mstade

But there are better solutions. Comment #35 in that thread actually provides one:

> The problem: Moving away from a form can result in data loss.

> Your solution: Make it harder to move away.

> The correct solution: Cache tab history completely and make it easy to move forward and backward in a tab's history by reusing cache and maintaining form contents.

(Source: https://bugs.chromium.org/p/chromium/issues/detail?id=608016...)

Safari does this, for instance, and yes it does happen that I accidentally the whole thing by hitting backspace, but it's OK because I know if I just go forward again, it'll all still be there – fully intact.

parent mstade 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton