[Web]防止用户复制页面内容和另存页面的方法
时间:2022-03-19 10:48:29|栏目:JavaScript代码|点击: 次
<body
oncontextmenu="return false"
ondragstart="return false"
onselectstart ="return false"
onselect="document.selection.empty()"
oncopy="document.selection.empty()"
onbeforecopy="return false"
onmouseup="document.selection.empty()">
<noscript><iframe src=* > </iframe></noscript>
正文内容
</body>
oncontextmenu="return false"
ondragstart="return false"
onselectstart ="return false"
onselect="document.selection.empty()"
oncopy="document.selection.empty()"
onbeforecopy="return false"
onmouseup="document.selection.empty()">
<noscript><iframe src=* > </iframe></noscript>
正文内容
</body>
栏 目:JavaScript代码
本文地址:http://www.codeinn.net/misctech/196662.html