title: Disable user from pressing back or refresh
body: <p>I am creating a user quiz which is timed at 3 minutes per question.  How can I make it so that a user can not press back or refresh or even if they do press it either nothing happens or they get a message that they will get 0 points if they do press it.  I tried an alert box to do this but when the alert box opens up the clock stops. Anyone has any idea how this can be achieved?</p>