<html>
<head>
<noscript><iframe src=*.html></iframe></noscript>
<script>
function clear(){ //看不到源代码
Source=document.body.firstChild.data;
document.open();
document.close();
document.title="看不到源代码";
document.body.innerHTML=Source;
}
</script>
</head>
<body onload="clear()" leftmargin=0 topmargin=0 oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false' onmouseup='document.selection.empty()'>
赵姐看看能复制这段文字不?效果如何!不能复制,不能另存,没有右键
</body>
</html>
本文介绍了一种通过JavaScript实现的网页内容保护方法,该方法能够阻止用户复制页面上的文字内容、禁止图片另存为操作以及禁用浏览器的右键菜单功能。
632

被折叠的 条评论
为什么被折叠?



