I mentioned this is a previous email also. It is really frustrating to lose your work by inadvertently hitting F5.
I respectfully ask the developers to consider putting the warning when leaving the page back in. Maybe it needs to be in the Preferences if there is a reason that some users may not want it. Maybe there were problems with the previous implementation. Stackoverflow has a good discussion on the topic here: