How to Disable Right Click Using jQuery

There are many reasons a developer may want to disable right-click on their websites. While it's not always considered a best practice, it's definitely doable and can actually be achieved quite easily. With jQuery it's really simple to disable right-click on your site. All you need to do is add this snippet to your scripts:

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

These few lines of code will completely block your user from being able to use right-click on your site.



Responsive Menu
Add more content here...