DISABLE COPY AND INSPECT OPTION FOR PAGE BY JQUERY

edited January 2021 in Web Development
<script type="text/javascript">
$(document).ready(function () {
    //Disable cut copy paste
    $('body').bind('cut copy paste', function (e) {
        e.preventDefault();
    });
    //Disable mouse right click
    $("body").on("contextmenu",function(e){
        return false;
    });
});
</script>
Tagged:

Comments

Sign In or Register to comment.