Home > Web Front-end > HTML Tutorial > How to disable switching pages? Similar to online examination system to prevent cheating_html/css_WEB-ITnose

How to disable switching pages? Similar to online examination system to prevent cheating_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:22:29
Original
5484 people have browsed it

The JavaScript exam system prohibits switching pages to prevent cheating

Please tell me how to stay on the current page. That is, you cannot use shortcut keys to cut out the current page, nor can you minimize the current page. It is not possible yet. Use the Windows key on your keyboard to open the Start menu and more.
Onblur does not work, because an alert counts as a blur. It is impossible not to have an alert.
I also checked a lot of information online, and it may be that using js alone cannot prevent page switching.
Please give me some advice. If there are any plug-ins that can be provided, that is also welcome. Hurry, hurry! ! ! !

Reply to the discussion (solution)

Ban ctrl alt del too
Not considering doing CS?

Ban ctrl alt del too
Don’t consider doing CS?
The exam system I built is just a small module in the entire system, not just an online exam system.
You can only use B/S.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template