Javascript: 偵測不focus在原視窗

window.onblur = function() {
console.log('blur');
};

留言