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

Figure out why the tab reports status complete when it's actually not #2

Open
raleighlittles opened this issue Apr 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@raleighlittles
Copy link
Owner

Basically Chrome is reporting that the tab has finished loading sooner than it actually is. I'm already checking that the TabStatus is set to "completed" before sending a message to the content script: https://developer.chrome.com/docs/extensions/reference/tabs/#type-TabStatus

but there seems to be some kind of bug with this, as some of the DOM hasn't actually finished loading by this point -- I could see that it couldn't find the HTML elements that I know should be there.

See here: https://github.com/raleighlittles/Chrome-AMC-AList-Filter/blob/main/content.js#L38

https://stackoverflow.com/questions/70571871/chrome-extension-tabs-onupdated-with-status-complete-works-too-early

@raleighlittles raleighlittles added the bug Something isn't working label Apr 17, 2023
@raleighlittles raleighlittles self-assigned this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant