开发者

Disabling keys in Windows

how to disable ctrl+alt+del,alt+F4,ALT+TAB, keys using Ja开发者_运维问答vaScript for Windows?


You cannot disable CTRL+ALT+DELETE that is a windows special key.

You cant disable ALT+F4 or ALT+TAB as those as also special keys.

You should have no reason at all to disable those via Javascript.


You should not do that is my answer. That would definitely make me not visit that site again. Even if it's an internal site, disabling keys is a bad workaround to whatever problem you are having.


Short answer: You can't.

Capturing Ctrl-Alt-Del in JavaScript/jQuery


Any implementation of Javascript that allowed you to do so I would consider buggy, and might even change browsers to avoid. A website should never take over my machine like that.

There are almost no good reasons to allow web pages to do that to a user, and a whole host of evil reasons. I'll give you the benifit of the doubt that you aren't trying to do something evil, but I can't imagine what that could be.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜