Jquery – Disable right-click contextual menu

There’s many Javascript snippets available to disable right-click contextual menu, but JQuery makes things a lot easier:

$(document).ready(function(){
    $(document).bind("contextmenu",function(e){
        return false;
    });
});

Leave a Reply

Your email address will not be published. Required fields are marked *

*