🌈 搜索
📅  最后修改于: 2022-03-11 15:02:58.298000             🧑  作者: Mango
if (document.hasFocus()) console.log('Tab is active')