title: Intercepting script load
body: <p>What I need is to hook/intercept other external JS load.
  I can place js anywhere in document</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;script src="hook.js"&gt;&lt;/script&gt;
  &lt;script src="a.js"&gt;&lt;/script&gt;
  &lt;script src="b.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Hook.js should intercept a.js and b.js. Problem is, that when hook.js is executed, i cannot see other scripts (document.scripts contains only hook.js) and document ready event is too late (scripts a.js and b.js are executed).</p>
  
  <p>Is there any way to "see" other script tags, before are executed ?
  Thanks for any help</p>
  
  <p><strong>Edit</strong></p>
  
  <ol>
  <li>I need to do any "magic" inside hook.js without modyfing (statically) other HTML.</li>
  <li>No jQuery</li>
  </ol>