No Browser Cache for User Scripts

NaeemBolchhi
2023-11-29T12:34:24Z

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

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.