right click disable

0
15

$(“body”).on(“contextmenu”,function(e){
return false;
});

copy pest disable
function showError(){
alert(‘you are not allowed to cut,copy or paste here’);
}

$(‘#form-control’).bind(“cut copy paste”,function(e) {
e.preventDefault();
});

///right click diable
$(“body”).on(“contextmenu”,function(e){
return false;
});


right click disable