I am developing application, where user has to write certification exam online. Once user clicks start exam button, I am opening popup window to give exam. But we should not allow user to move away from this window(To prevent him from copying answer by googling in another window). User should not be able to move away from active window in any way like pressing ALT+TAB (or) WINDOWS+D.
Basically, in javascript, we need to prevent user to move away from current window in all possible ways. How to do it?