页面不允许在框架内
window.onload=function(){
if(self != top){
top.location.href = self.location.href;
}
}
页面不能点右键,不用CTRL+A,不能复制作!
<body oncontextmenu="window.event.returnvalue=false"
onkeypress="window.event.returnvalue=false"
onkeydown="window.event.returnvalue=false"
onkeyup="window.event.returnvalue=false"
ondragstart="window.event.returnvalue=false"
onselectstart="event.returnvalue=false">
</body>