为什么网页执行不了
<!DOCTYPE html>
<html>
<head>
<title>111</title>
<style type="text/css"></style>
<script type="text/javascript">
</script>
</head>
<body>
<input type="button" value="分享链接" onclick="clipboardData.setData('text', '我发现有一个网站' + location.href); alert('已复制');" />
</body>
</html>
我是在vs2015里面写的,里面就没有clipboardData.setData,用网页执行,这句话执行不了,是什么原因呢??
新手求教!!!