My website calls a js file (named file.js) like this:
<script src="urltothefile/file.js"></script>
The .js file itself starts with a random() function where if the number is lower than 50 it should print "nothing here to see" and if it's higher it should execute a javascript code.
Can that be done?!
Thank you!
Aucun commentaire:
Enregistrer un commentaire