标签:doc cts bsp sele html sem use cti select
<body 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()‘>
<!--关键于以下参数的设置-->
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>中加入
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>加入:
<noscript>
<iframe src="*.htm"></iframe>
</noscript>
禁止网页内容复制、粘贴,在<body>中加入:
<body onmousemove=/HideMenu()/ oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()"
oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
创建时间:2020.03.23 更新时间:
标签:doc cts bsp sele html sem use cti select
原文地址:https://www.cnblogs.com/guorongtao/p/12550102.html