How to disable browser back button and refresh button
How to disable browser back button and refresh button when the user starts the exam
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dipankar BiswasRank #992 · 2K reputationPosted Aug 27, 2014, 12:00 AM EDT
<SCRIPTtype="text/javascript">window.history.forward();function noBack() { window.history.forward(); }SCRIPT>HEAD><BODYonload="noBack();"onpageshow="if (event.persisted) noBack();"onunload="">Sharad RathoreRank #3,483 · 416 reputationPosted Sep 3, 2014, 11:18 AM EDT
please try this -:
Thanks and Regards,
Sharad Kumar Rathore