Welcome to WebmasterWorld Guest from 107.20.54.98

Forum Moderators: open

Message Too Old, No Replies

print screen, alt, crtl, shift keys diabling

Disable the keys through javascript

     
12:46 pm on Apr 6, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 6, 2003
posts:5
votes: 0


Does any one knows about disabling the keyboard keys "Print screen, alt, Shift, crtl, f11" through javascript?
1:03 pm on Apr 6, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


Do you want to disable the whole keyboard or just these specific keys?

you could use the onKeyPress event to have an alert box coming up every time the keyboard is used.

However I wouldn't recommand disabling any of the keyboard capabilities as people use it to browse (and the onKeyPress event isn't supported by the older browser)

1:07 pm on Apr 6, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 27, 2003
posts:664
votes: 0


Hi Chetspune and welcome to Webmaster World

I don't know the answer, but if is possible, then I'd consider that a serious security bug in the browser ;-)

Shawn