📌  相关文章
📜  javascript 检测标签离开 - Javascript 代码示例

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

代码示例1
window.onblur = function() {
    console.log("the user just switched tabs");
};