<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>