Using javascript you can have a message show up when the use presses back, or closes the tab/window. It's a simple thing (I'm a web developer) to do and would be useful for this game.
I keep accidentally pressing back and having to reload which is quite annoying