只有window.closed<script>
wn=window.open('','','')
if(wn){
alert("打开")}
esle{
alert("没打开")
}
</script>