onselectstart="return false"无法复制文字
在<body>中添加onselectstart="return false"实现无法复制文字。
事例:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>
<body onselectstart="return false">
<h1>Hello ZhuKe</h1>
<h2>-----------Since 1988 </h2>
<h3>Hello World</h3>
<h4>Hello Girl</h4>
</body>
</html>