Override Javascript file in chrome
<p>I would like to override a javascript file with my own version of the similar javascript file in chrome.</p>
<p>Let me explain:</p>
<ol>
<li><p>Lets say a site 'http://example.com' calls 'http://example.com/script/somescript.js'.</p>
</li>
<li><p>What I would like to do is override the file 'http://example.com/script/somescript.js' with my own version located at 'http://localhost/script/somescript.js'.</p>
</li>
<li><p>I need to effectively modify a function in the original Javascript file.</p>
</li>
</ol>