Lea Verou shared ways to figure out if a browser tab has focus. Surprisingly, Lea ruled out the solution ( document.hasFocus() ) at first.
確定! 回上一頁