Skip to content

@run-at document-start does not really run at start #623

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

Closed
booruce opened this issue Feb 8, 2024 · 1 comment
Closed

@run-at document-start does not really run at start #623

booruce opened this issue Feb 8, 2024 · 1 comment

Comments

@booruce
Copy link

booruce commented Feb 8, 2024

I think this might be related to #184 but it's a closed issue so seeing if there's a fix or alternative.

The issue is document-start appears to run at a readyState of "complete" on every subsequent page load. The only reliable way to have it run during a readyState of "loading" is to use "shift+refresh", for some reason that runs reliably 100% of the time at a "loading" readyState.

The only problem is I can't figure out a way to "shift+refresh" on iOS. Any advice?

@ACTCD
Copy link
Collaborator

ACTCD commented Feb 8, 2024

Since the extension preparation user script must go through several asynchronous requests and the lack of relevant API support in the upstream, we still have no good way to solve this issue.

There is still an open issue tracking this: #459

@ACTCD ACTCD closed this as completed Feb 8, 2024
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

No branches or pull requests

2 participants