What I can detect•Tab visibility changes (tab switch).•Window focus loss and recovery.•Fullscreen exit and prolonged inactivity.
What I can't detect•Applications open outside the browser.•Exact content of other system windows.•What you ate for breakfast this morning.