1.取消右键鼠标菜单
<body oncontextmenu="return false">
<h1>001</h1>
<h1>002</h1>
</body>
2.取消选取防止复制
<body onselectstart="return false">
<h1>001</h1>
<h1>002</h1>
</body>
3.防止复制
<body>
<h2 oncopy="return false" oncut="return false">fsadjlfasjl</h2>
<h2>fsadjlfasjl</h2>
<h2>fsadjlfasjl</h2>
</body>
4.防止粘贴
<input type="password" onpaste="return false">
5.3秒后刷新到一个新地址
<meta http-equiv="refresh" content="3;url = http://www.baidu.com">