var
el = document.createElement(
"a"
);
document.body.appendChild(el);
el.href = url;
//url 是你得到的连接
el.target =
'_new'
;
//指定在新窗口打开
el.click();
document.body.removeChild(el);
var
el = document.createElement(
"a"
);
document.body.appendChild(el);
el.href = url;
//url 是你得到的连接
el.target =
'_new'
;
//指定在新窗口打开
el.click();
document.body.removeChild(el);