jQuery Disable Browser Right click Context Menu in a web page

Monday, September 5, 2011

Prevent visitors from right clicking on your web page for some security reasons, we need to disable right click context menu when visitors attempt to make right click;  Here is the simple and useful jQuery Solution to disable Browser Right click context menu to support all major browsers.

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

<script type="text/javascript">
$(this).bind("contextmenu", function(e) {


No comments:

Post a Comment