js禁止鼠标右键和禁止ctrl+c复制
            时间:2014-05-15 16:12:11  
            收藏:0  
            阅读:298
        
        
        <script type="text/javascript"> //禁止ctrl复制 document.onkeydown=function(){ if((event.ctrlKey) && (window.event.keycode==67)){ event.returnValue=false; alert("Ctrl+C被禁止啦!"); } } document.onmousedown=function(){ if(event.button==2){ event.returnValue=false; alert("右键被禁止啦!"); } } </script>
            评论(0)
        
        
         
        