Possible Duplicate:
What is my script src URL?
I have situation:
<script
type="text/javascript"
src="http://server/some.js">
</script>
In file some.js I need to know full path of same file some.js, eq. "http://server/some.js". How can I do this?
I can't change HTML code (clients are including JS file).