I am working on an evaluation system, In which candidate attempt for an exam. So the page where a question and its choices are get rendered is a page with iframe
, In that questions are get the render. The page which holds iframe
contains JavaScript
timer.
So when questions get render on the browser to restrict refresh I have written F5
and ctrl+F5
blocking code so candidate can't refresh using keyboard shortcuts but in a browser window, one can still use refresh button or back button. Is there any way to disable this? I know playing with browser functionality is not good practice, So is there any way to get out of this.