網(wǎng)頁復(fù)制代碼




















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





















