-
Notifications
You must be signed in to change notification settings - Fork 426
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
[MV3] All GM_xmlhttpRequest
requests are serialized
#2215
Comments
GM_xmlhttpRequest
requests are serializedGM_xmlhttpRequest
requests are serialized
I got lots of reports about this from Chrome users, and one was Chromium user. |
@Purfview Have you tried the workaround with the latest BETA version 5.3.6216? If you wan't to test it at the stable version, then you have to download this crx, because version 5.3.2 is currently in review. After downloading the crx file linked above you need to drag and drop it to the extensions page |
In BETA version 5.3.6216: responses comes very slow - still serialized, and same like the other issue with loading, refreshed it like 50 times till it worked. |
The workaround from above should fix this one:
|
Yeah, I thought that beta works without it, skipped the first post too fast... Btw, your link is not secure as it doesn't ensure integrity and I think it wouldn't be allowed on GF as such. Here is the secure version of the link and it should be compliant with GF:
|
Expected Behavior
GM_xmlhttpRequest
requests are made in parallelActual Behavior
requests run serialized (until response headers are received)
Specifications
Explanation
In order to fix #2179 Tampermonkey needs to register a DNR rule for every request. Since those header modifications are not preserved over HTTP redirects like headers set via
fetch
, Tampermonkey needs to match all requests, but therefore can't run more than one at once. In my opinion this is a Chrome bug.Workaround
Add the following to your script (Tampermonkey 5.3.2+, Tampermonkey BETA 5.3.6216+).
// @require https://raw.githubusercontent.com/Tampermonkey/utils/refs/heads/main/requires/gh_2215_make_GM_xhr_more_parallel_again.js
Drawbacks:
Script
The text was updated successfully, but these errors were encountered: