Maxthon强制弹出IE窗口

修改代码中的round=***即可

<script language="javascript">
var location=new String(document.location);
var round=3;
var reg=//?round=(/d+)$/;
if (location.match(reg)!=null)
{
 var currentRound=parseInt(RegExp.$1)-1;
 if (currentRound>0)
 {
  var urlString=location.substring(0, location.lastIndexOf("?"));
  for (var i=0; i<round; ++i)
   window.open(urlString+"?round="+currentRound, "_blank");
 }
}
else
 window.showModalDialog(location+"?round="+round, "_blank", "scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px");
</script>

你可能感兴趣的:(JavaScript,String,IE,null,scroll)