Skip to content Skip to sidebar Skip to footer

How Can I Disable Alt+f4 Event In Ie Browser?

Ctrl+W and Alt+F4 command close the IE browser. I want to disable this default action. I can handle with Ctrl+W command. But I can't with Alt+F4 event. I found that Alt+Keys event

Solution 1:

You absolutely cannot do this with Javascript, for obvious security reasons.

If you are making a kiosk application that uses shdocvw.dll to render pages, then you have options, but you cannot from the page itself. Only the client gets to decide what to do with such keypresses, not you.

Post a Comment for "How Can I Disable Alt+f4 Event In Ie Browser?"