📌  相关文章
📜  在新选项卡上使用 jquery 重定向到链接 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:16.278000             🧑  作者: Mango

代码示例3
var win = window.open('http://stackoverflow.com/', '_blank');
if (win) {
    //Browser has allowed it to be opened
    win.focus();
} else {
    //Browser has blocked it
    alert('Please allow popups for this website');
}