homepage Welcome to WebmasterWorld Guest from 54.227.56.174
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
print screen, alt, crtl, shift keys diabling
Disable the keys through javascript
chetspune




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

Does any one knows about disabling the keyboard keys "Print screen, alt, Shift, crtl, f11" through javascript?

 

le_gber




msg:1475168
 1:03 pm on Apr 6, 2003 (gmt 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)

ShawnR




msg:1475169
 1:07 pm on Apr 6, 2003 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved