Ver originalfunction getScripts(){ document.write('<script src="http://miweb.com/script1.js"></script><script src="http://miweb.com/script2.js"></script><script src="http://miweb.com/script3.js"></script><script src="http://miweb.com/script4.js"></script>'); } window.onload = getScripts();