How can I Extract JavaScript Source on Chrome Extension or Console-Command?
<p>HTML :
<code>&lt;html&gt; &lt;script scr="http://someurl.com/jscript.js"&gt;&lt;/script&gt;&lt;/html&gt;</code></p>

<p>I'm trying to extract source code of jscript.js in chrome extension.</p>

<p>But there is no attribute of DOM Object holding source of js.</p>

<p>Is there a way to extract the source code of JavaScript which is loaded on page?
(By using DOM object or some internal object, except re-downloading the script)</p>

<p>Because.. Some web-server returns different source code depends on the request-packet (Usually.. BAD servers do that). So If I tried to download it with different request, I can't get the same one that was loaded on the browser.</p>