I am executing this code in my browser (chrome) through the url bar.
document.write('<script src=http://example.com/example.js></script>')
When that is executed on a page, it overwrites it and places:<script src=http://example.com/example.js></script>
as the source code of the page and then launches the .js script. My question is, is it possible to launch that .js script without overwriting the entire page with a small amount of code? If so how?