Is external JavaScript source available to scripting context inside HTML page?
Posted
by
John K
on Stack Overflow
See other posts from Stack Overflow
or by John K
Published on 2011-01-08T23:47:50Z
Indexed on
2011/01/08
23:53 UTC
Read the original article
Hit count: 167
When an external JavaScript file is referenced,
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
is the JavaScript source (lines of code before interpretation) available from the DOM or window context in the current HTML page? I mean by using only standard JavaScript without any installed components or tools.
I know tools like Firebug trace into external source but it's installed on the platform and likely has special ability outside the context of the browser sandbox.
© Stack Overflow or respective owner