Home  >  Article  >  Web Front-end  >  禁止切换页面如何实现?类似在线考试系统防作弊的_html/css_WEB-ITnose

禁止切换页面如何实现?类似在线考试系统防作弊的_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:22:295415browse

JavaScript 考试系统 禁止切换页面 防作弊

请教大神们,如何实现停留在当前页面,即不可以通过快捷键切出当前页面,也不可以最小化当前页,还不可以使用键盘上的windows按键打开“开始”菜单等等。
onblur不行,因为alert一下就算是blur一次。不可能没有alert的。
我网上也查询了很多资料,可能单用js是无法禁止切换页面的。
请高人指点一二。如果有什么插件可以提供也可。急急急啊!!!!

回复讨论(解决方案)

ctrl+alt+del也要禁吧
不考虑做CS?

ctrl+alt+del也要禁吧
不考虑做CS?
我所做的考试系统只是整个系统中的一个小模块,不单单是一个在线考试系统。
只能用B/S的了。

Statement:
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