I want to load an external javascript file into the page and make sure its not cached. I do not have access to php so I cant generate a random string after the filename.
In PHP the script would look like this:
<script src="http://site.com/cool.js?<?php echo $randomnumber; ?>"></script>
Is there a way to do something like that using only javascript?