right click disable

0
55

$(“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

LEAVE A REPLY

Please enter your comment!
Please enter your name here