You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I rely on the browser's window.focused to determine whether the user is idle or not. But this has one major flaw; if a user has the browser focused and goes idle it'll keep counting. This is an inaccuracy that could be mitigated using a content script that registers a global event listener for any user action, and based on a specific timeout, communicate the user's idle state to the background process.
The text was updated successfully, but these errors were encountered:
I rely on the browser's
window.focused
to determine whether the user is idle or not. But this has one major flaw; if a user has the browser focused and goes idle it'll keep counting. This is an inaccuracy that could be mitigated using a content script that registers a global event listener for any user action, and based on a specific timeout, communicate the user's idle state to the background process.The text was updated successfully, but these errors were encountered: