不能右击代码

不能右击代码
<script>
    document.oncontextmenu = function(){
    return false;
    }
    document.onkeydown = function(){
    if (event.ctrlKey && window.event.keyCode==67){
    return false;
    }
    }
    document.body.oncopy = function (){
    return false;
    }
    document.onselectstart = function(){
    //return false;
    }
window.ontouchstart = function(e) { e.preventDefault(); };
</script>

原文地址:https://www.cnblogs.com/wangshengli520/p/7461540.html