禁止鼠标复制和右键
<script language="javascript">
document.oncontextmenu=function(){return false;}
document.onselectstart=function(){return false;}
document.ondragstart=function(){return false;}
document.onselect=document.selection.empty();
document.oncopy=document.selection.empty();
document.onbeforecopy=function(){return false;}
onmouseup=document.selection.empty();
</script>
document.oncontextmenu=function(){return false;}
document.onselectstart=function(){return false;}
document.ondragstart=function(){return false;}
document.onselect=document.selection.empty();
document.oncopy=document.selection.empty();
document.onbeforecopy=function(){return false;}
onmouseup=document.selection.empty();
</script>