No Browser Cache for User Scripts

Updates the user script install link on every refresh to avoid browser caching.

Author
NaeemBolchhi
Daily installs
2
Total installs
48
Ratings
3 0 0
Version
0.4
Created
2023-11-29
Updated
2024-01-09
License
GPL-3.0-or-later
Applies to

Have you ever faced an issue where you're trying to install your userscript after just pushing a new update and your browser keeps downloading the previous version? That will automatically go away after some time, though I don't know exactly how long. But there is some annoyance there and it bothered me enough, so I made this script to resolve that. The install links are dynamically updated with a string containing the current date and time, resulting in uncached links every time.