Click here to Skip to main content
13,448,598 members (54,671 online)
Click here to Skip to main content

Tagged as


139 bookmarked
Posted 26 Dec 2012

Prevent user hit some special keywords(Ctrl, Shift...) and access context menu on webpage.

, 26 Dec 2012
Sometime, you dont want user press down some special keys such as Ctrl, Shift.. and view the context menu on webpage, you need to define javascript functions to achieve it. The main issue here is there are a lot of browsers and their version too. How we can do it?
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.180318.3 | Last Updated 26 Dec 2012
Article Copyright 2012 by Phat (Phillip) H. VU
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid