弹出窗口不被拦截

var frm = document.createElement("form");
document.body.appendChild(frm);
frm.method 
= "POST";
frm.target 
= "_blank";

function getURL(url){
  frm.action 
= url;
  frm.submit();
}

在as里调用 getURL

原文地址:https://www.cnblogs.com/sevenyuan/p/1615375.html