How to Disable Mouse Right Click and Cut Copy Paste in Website

Open your website HTML File. Find </body> tag. Then, just add the following JavaScript code after the </body> tag.

Code

<script type="text/javascript">
  jQuery(document).ready(function () {
    // Disable cut copy paste
    jQuery('body').bind('cut copy paste', function (e) {
      e.preventDefault();
    });
    // Disable mouse right click
    jQuery("body").on("contextmenu",function(e){
      return false;
    });
  });
</script>

The file should now look something like this.

Disable mouse right click and cut copy paste in Website

Happy Coding!

Thanks!