Suppose I have a line like this on a HTML page:
<script src="/script/myscript.js" type="text/javascript"></script>
and suppose the server is not allowing me to load myscript.js directly from the browser.
Is there a way to see the javascript code inside this script from within the browser?
thanks.
Tools/Developer Tools in Chrome. Select the Scripts tab.
Firebug in Firefox (this is an extension you have to add).
F12 or Tools/Developer Tools in Internet Explorer.