Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can hack around this by grabbing the "window.onbeforeunload" event to display the "Changes you have made to this page may not be saved: Leave/Stay" dialog when closing a tab. Reddit implements this when you're writing a comment, HN does not.

The nice thing about a remote desktop, though, is that you won't actually lose changes.



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

Search: