Other web applications like Google Keep display an "are you sure?" warning when there are local changes that have not yet been synchronized with the server. They use the beforeunload event for that (cf. https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event). It would be nice if JetPunk could also use that, probably from the moment a quiz is started to when its "score" has successfully been recorded by the server.