Web HTML页面,内容禁止选择、复制、右键
2021-04-02 20:25
标签:doc cts bsp sele html sem use cti select 禁止鼠标左右键,在中加入 禁止网页另存为,在加入: 禁止网页内容复制、粘贴,在中加入: 创建时间:2020.03.23 更新时间: Web HTML页面,内容禁止选择、复制、右键 标签:doc cts bsp sele html sem use cti select 原文地址:https://www.cnblogs.com/guorongtao/p/12550102.html
oncontextmenu=‘return false‘
ondragstart=‘return false‘
onselectstart =‘return false‘
onselect=‘document.selection.empty()‘
oncopy=‘document.selection.empty()‘
onbeforecopy=‘return false‘
onmouseup=‘document.selection.empty()‘
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()"