網頁復制代碼




















網頁防復制代碼
插入網頁即可。
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="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()">
<noscript><iframe src="/blog/*>";</iframe></noscript>
1. oncontextmenu="window.event.returnvalue=false" //將徹底屏蔽鼠標右鍵
<table border oncontextmenu=return(false)><td>no</table> //可用于Table
------------------------------------------------------------------------------------------------------
2. <body onselectstart="return false"> //取消選取、防止復制
------------------------------------------------------------------------------------------------------
3. onpaste="return false" //不準粘貼
------------------------------------------------------------------------------------------------------
4. oncopy="return false;" oncut="return false;" // 防止復制
------------------------------------------------------------------------------------------------------
5. //防止被人frame
<SCRIPT LANGUAGE=javascript><!--
if (top.location != self.location)top.location=self.location;
// --></SCRIPT>
------------------------------------------------------------------------------------------------------
6. <noscript><iframe src="/blog/*.html>";</iframe></noscript> //網頁將不能被另存為
------------------------------------------------------------------------------------------------------
7. //改變連接是狀態欄的顯示內容
〈a href="
------------------------------------------------------------------------------------------------------
8. //禁止網頁中目標對象被下載(如圖片)
下面的代碼將幫助你禁止網頁中目標對象被下載:
<a href="javascript:void(0)" onMouseDown="alert('對不起!圖片不能下載!')">
</a>
------------------------------------------------------------------------------------------------------
9. //頁面禁止刷新完全
最好在pop出來的窗口里用,沒工具欄的





















