建站技术

当前位置:

不能点右键、不用CTRL+A、不能复制

浏览量:

彻底屏蔽左右键、不能复制
<body oncontextmenu=self.event.returnValue=false onselectstart="return false">

oncontextmenu="window.event.return&#118alue=false" 将彻底屏蔽鼠标右键 
 <body oncontextmenu="return false"> 忽视右键

<table border oncontextmenu=return(false)><td>no</table> 可用于Table

<body onselectstart="return false"> 取消选取、防止复制


onpaste="return false" 不准粘贴

oncopy="return false;" oncut="return false;" 防止复制

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>不能点右键、不用CTRL+A、不能复制</title>
</head>

<body
onkeypress="window.event.returnValue=false"
onkeydown="window.event.returnValue=false"
onkeyup="window.event.returnValue=false"
ondragstart="window.event.returnValue=false"
onselectstart="event.returnValue=false">
</body>
试试鼠标右键,试试CTRL+A全选,试试鼠标拖选复制?
</body>
</html>


[声明]本网转载网络媒体稿件是为了传播更多的信息,此类稿件不代表本网观点,本网不承担此类稿件侵权行为的连带责任。故此,如果您发现本网站的内容侵犯了您的版权,请您的相关内容发至此邮箱【27535611@qq.com】,我们在确认后,会立即删除,保证您的版权。