问题描述
- js 如何判断google浏览器的弹出框被拦截?
-
<br>
checkwindow();<br>
function checkwindow(){<br><br>
var url = "../aa.aspx";<br>
win = window.open(url,"","height=1px,width=1px,top=10000,left=10000,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");<br>
if (win == null || win == false) {<br>
var a=document.getElementById("openpage");<br>
document.getElementById("openpage").innerHTML="<B><font color='red'>你IE浏览器弹出窗口被拦截了~<font></B>";<br>
}<br>
}<br>
这个方法我已经用过了~不顶用~<br>
js 如何判断google浏览器的弹出框被拦截?</p>
时间: 2024-09-16 00:49:15