日期:2014-05-16  浏览次数:20463 次

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();