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

Navigation not available immediately after page load #500

Open
rdziubek opened this issue Apr 1, 2023 · 1 comment
Open

Navigation not available immediately after page load #500

rdziubek opened this issue Apr 1, 2023 · 1 comment

Comments

@rdziubek
Copy link

rdziubek commented Apr 1, 2023

There is a noticable delay when initialising the extension on https://google.com/ despite the navigable elements being already loaded at that time

Screen.Recording.2023-04-01.at.6.49.33.PM.mov
@infokiller
Copy link
Owner

Thanks, I think this is a limitation of Chrome loading the extension (see https://github.com/infokiller/web-search-navigator/blob/master/src/manifest.json#L41 and https://developer.chrome.com/docs/extensions/mv3/content_scripts/#run_time). Maybe using document_start will work around that, I'll try to play with it when I have time, but it may take a while. Feel free to improve it and send a PR.

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

No branches or pull requests

2 participants