Detect location of script not the page where it is called from
<p>I am wondering if I can somehow find out the location of the script and not the page it is called from. e.g. if the page is <a href="http://xxx.yyy.com/a.htm" rel="nofollow">http://xxx.yyy.com/a.htm</a>, and I write location.href, I get that location instead of <a href="http://aaa.zzz.com/script.js" rel="nofollow">http://aaa.zzz.com/script.js</a> where the script resides. Is it possible to get the location of the script?</p>

<p>Thank you for your time.</p>
