页面不可复制:
css :
body{body{-moz-user-select:none; hutia:expression(this.onselectstart=function(){return false;});}
html :
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onbeforecopy="return false" oncopy=document.selection.empty() onselect=document.selection.empty()>
</body>
屏蔽鼠标右键:
<sctipt type="text/javascript">
$(document).ready(function(e) {
document.oncontextmenu = click;
if (top.location != self.location){
top.location=self.location;
}
});
function click(){
alert("版权归xxxx有限公司");
return false;
}
function rtnfalse(){
return false
}
function rtnempt(){
document.selection.empty()
}
</script>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。