1、禁止右键
<
script type
=
"
text/javascript
"
>
function stop()
{
alert( " 感谢你的使用! " );
return false ;
}
document.oncontextmenu = stop;
</ script >
function stop()
{
alert( " 感谢你的使用! " );
return false ;
}
document.oncontextmenu = stop;
</ script >
2、禁止另存为
body中加如下代码:
<
noscript
>
< iframe scr = " *.htm " ></ iframe >
</ noscript >
< iframe scr = " *.htm " ></ iframe >
</ noscript >
3、禁止打印
<
body
onbeforeprint
="document.body.style.display='none';"
>