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
Instant Injection Mode does not work if one of the scripts requires a local file #1910
Comments
Requiring local files is working fine here with Tampermonkey 5.0.0 and Chrome 119.0.6045.200. Please try to disable and re-enable local file access. Do you see errors being logged at the page or background page console? |
Same here on Chrome 119.0.6045.199 (Official Build) (x86_64). Resetting local file permissions didn't help, but downgrading to 4.19.0 did. Script:
|
I do not see this request in a network tab and there are no errors on Tampermonkey's background page. |
Do you have Instant Injection enabled? |
@derjanb after the update, the inject mode dropped to its default value, and reverting it to |
I can reproduce the issue with |
I reported about this issue 3 weeks ago, but for some reason it was closed. Good to see that it is going to be patched. |
Should be fixed at 5.0.6191 (crx|xpi in review) Chrome/Edge users, please download the crx file linked above and drag and drop it to the extensions page For a quick fix please export your settings and scripts as zip or (JSON) file at the "Utilities" tab and import it back at the fixed BETA version. |
Version v5.1.6194 here and the bug is back, apparently. I have a script that overrides the window.alert() function and it started to behave erratically. It only works once in every, idk, 20 page loads. Sadly I can't tell exactly when did this start cause I haven't use this particular script in a couple of months. So I took all the scripts out from my local @ require (sorry for the accidental ping) and embedded them directly into Tampermonkey's editor and it's working perfectly. Any thoughts? |
I made an example script lol. Downgrading tampermonkey fixed it.
Expected Behavior
External files like
// @require file://W:\down\py\Tamper\jquery-3.6.1.js
// @require file://W:\down\py\Tamper\hoefunc.js
// @require file://W:\down\py\Tamper\waitForKeyElements.js
Actual Behavior
They don't load.
Specifications
Version 119.0.6045.106 (Official Build) (64-bit)
Script
(Please give an example of the script if applicable.)
The text was updated successfully, but these errors were encountered: