I'm currently trying to figure out how I can include a javascript, I have on my webserver, in my scriptish/greasemonkey script and make it reload the script everytime the userscript gets called.
I'm editing the script on my webserver and I really don't want to reinstall the userscript each time I make changes on the included script.
Is there any way around this problem? I've been searching for an answer but had no luck so far.
So to be clear, my userscript looks like this:
// ==UserScript==
// @id HET
// @name SettingsHandler
// @version 1.0
// @namespace HET
// @require http://urltoscript/scripts/he/lib.js
// @run-at document-end
// ==/UserScript==
and my external script looks like this:
alert('got it');
All still very easy for testing purposes. This setup works, but only the first time and when I change my lib.js script, then the userscript still reads the old one. Is there a way to prevent the userscript from caching the external script? Or is there any other metatag that can help me?
Thanks in advance, Dave