/ Published in: jQuery
Not a good practice, but may be useful for some applications. Maybe render a custom context menu instead of disabling it fully.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(function() { $(this).bind("contextmenu", function(e) { e.preventDefault(); }); });
URL: http://www.devcurry.com/2009/11/disable-right-click-easily-using-jquery.html