当前位置: 代码迷 >> JavaScript >> JS封锁父窗口时不弹出对话框
  详细解决方案

JS封锁父窗口时不弹出对话框

热度:322   发布时间:2013-11-23 10:52:51.0
JS关闭父窗口时不弹出对话框

var url = top.location.href;
??????url+="?flag=true";
??????parent.parent.window.open(url,"_blank","left=0px,top=0px,fullscreen=1,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=1,resizable=1");
?????var win = parent.parent.window.open("about:blank","_self");
?? ??win.close();

  相关解决方案