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

Delay getElement timeout until after rAF #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcpower
Copy link

@mcpower mcpower commented Jan 21, 2023

Under normal circumstances, this should be a negligible increase in the timeout, but if this tab is in the background, this rAF will delay until it has focus.

Fixes #198.

Under normal circumstances, this should be a negligible increase in the
timeout, but if this tab is in the background, this rAF will delay until
it has focus.

Fixes insin#198.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome: Opening a Twitter tab in background for 10 seconds causes script to fail
1 participant