输入任何网址都是弹出慕课网为什么呀
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openWindow(){
var message=confirm("打开新的网页么");
if(message==true)
{add=prompt("请输入要打开的网址");
window.open('add','_blank','width=400,height=500');
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>