Click here to Skip to main content
12,997,060 members (75,231 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?



Compare Revision Minor Date Status Editor
4 - publicly available Yes 26-Dec-12 8:14 Available Phat (Phillip) H. VU
The article has been approved
3 No 25-Dec-12 22:32 Pending Phat (Phillip) H. VU
Updates in content.
2 No 25-Dec-12 21:57 Pending Phat (Phillip) H. VU
Updates in content. 10 changes had been made.
1 No 25-Dec-12 16:38 Pending Phat (Phillip) H. VU
Initial creation


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
Web01 | 2.8.170622.1 | Last Updated 26 Dec 2012
Article Copyright 2012 by Phat (Phillip) H. VU
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid