首页 > html5 浏览器通知notification点击跳转到已打开的标签页

html5 浏览器通知notification点击跳转到已打开的标签页

notification.onclick = function() {}
浏览器通知点击事件,如何跳转到已打开的指定的标签页,并且不刷新该页面?


notification.onclick = function() {
    //可直接打开通知notification相关联的tab窗口
    window.focus();
}
【热门文章】
【热门文章】