Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Idle Detection #3

Open
KL13NT opened this issue Mar 23, 2021 · 2 comments
Open

Smart Idle Detection #3

KL13NT opened this issue Mar 23, 2021 · 2 comments
Labels
enhancement New feature or request up-for-grabs

Comments

@KL13NT
Copy link
Owner

KL13NT commented Mar 23, 2021

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.

@KL13NT KL13NT added the enhancement New feature or request label Mar 23, 2021
@KL13NT
Copy link
Owner Author

KL13NT commented Mar 23, 2021

This will probably require a change in addon permissions.

@KL13NT
Copy link
Owner Author

KL13NT commented Mar 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request up-for-grabs
Projects
None yet
Development

No branches or pull requests

1 participant