石家庄建站平台

十年经验 优惠价格 贴心服务

服务热线 15383239821

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

发布时间:2011-04-01    来源:

彻底屏蔽左右键、不能复制
<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>


还没开展互联网业务? 马上开始

关注多多建站公众号
扫码加好友