<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.111cn.net/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>拷贝内容增加页面地址与版权信息</title>
<script language="网页特效">
document.body.oncopy = function () {
settimeout( function ()
{
var text = clipboarddata.getdata("text");
if (text) {
text = text + "rn更多详细内容请查看:"+location.href;
clipboarddata.setdata("text",text);
}
}, 100 )
}
function copyurl()
{
var clipboardcontent="";
clipboardcontent+=document.title;
clipboardcontent+="";
clipboardcontent+=this.location.href;
window.clipboarddata.setdata("text",clipboardcontent);
alert("复制成功,请粘贴到你的qq/msn上推荐给你的好友");
}
</script>
</head>
<body>
<a href="javascript:copyurl();">复制地址</a><br />
tjtr拷贝内容增加页面地址与版权信息
</body>
</html>