Created
August 12, 2013 08:24
-
-
Save achudars/6209057 to your computer and use it in GitHub Desktop.
Capture Right Mouse Click with JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div oncontextmenu="javascript:alert('success!'); return false;"> | |
Lorem Ipsum | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment