这里哪里错了?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
function Wopen(){ var mymessage= confirm("确定要打开B站吗");
if(mymessage==true);
{
window.open('https://www.bilibili.com' ,'_blank','height=600,width=400,top=100,left=0');
}
else
{
alert("打开失败!");
}
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>
这两个