禁止另存代码:
禁止复制代码:
禁止右键:
禁止选取:
禁止粘贴:
<noscript>
<iframe src="/*>";</iframe>
</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()'>
oncontextmenu='return false'
ondragstart='return false'
onselectstart ='return false'
onselect='document.selection.empty()'
oncopy='document.selection.empty()'
onbeforecopy='return false'
onmouseup='document.selection.empty()'>
禁止右键:
<script language="JavaScript">document.oncontextmenu = function() { return false;}</script>
禁止选取:
<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()>
禁止粘贴:
<input type=text onpaste="return false">