Welcome to WebmasterWorld Guest from 54.166.178.177

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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month