title: Accessing the location object of an external script from the external script
body: <p>Here's an interesting JS q... suppose you have:</p>
  
  <p>host1.html on host1.com which references an external javascript (host2.js) on host2.com.  In the host2.js, I'd like to get the location.hostname of the host serving the host2.js, but because host2.js is called inside of host1.html, it returns the location.hostname of host1.</p>
  
  <p>Is there a way to get the location object of the external script within the external script being called?</p>