Reputation: 69
I use @require
to load a local JavaScript file shared by some of my GreaseMonkey scripts. When I change the file, GreaseMonkey continues to use the original version and does not load the new version. How can I disable the caching of the @require
d file?
Upvotes: 6
Views: 918
Reputation: 5510
In TamperMonkey, file://
resources won't be cached. You should, however, enable access to file URLs at Chrome's extension management page:
The are other ways to prevent caching of @require
d files (source):
Upvotes: 1