-
Notifications
You must be signed in to change notification settings - Fork 466
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
[BUG] disable cache of @require #2097
Comments
It should be fixed in beta, AFAIK. Can you try it? |
This problem exists not only on Violentmonkey, but also on Tampermonkey. When auto-updating scripts, if you encounter network issues (especially in mainland China), that cause The only way to do this is to change the code version number, save it, and manually update it so that the VM or TM can re-update the code for |
@F9y4ng, does it help in Tampermonkey if you use Subresource Integrity hashes in the URL? |
Oh and I guess it would make sense to add |
No, I'm using Subresource Integrity hashes in my current code and it doesn't help the problem.
Will it be hidden too deep for users to find it? The average script user can't even figure out what's causing the problem at all, just that the script is reporting an error. It would be nice if the |
No, if you encounter network issues when auto-updating scripts, |
Problem:
The required scripts nerver get updated to the latest version after the script was first installed. I can't find any way to update the required resources or disable the internal cache of violentmonkey.
I used the following code to declare the resouces from github.
// @require https://raw.githubusercontent.com/.......
Expected result:
The script manager should check for updates of required resources periodically or provide one button to update mannually or provide one option to disable the cache.
Devtools console contents:
Environment:
The text was updated successfully, but these errors were encountered: