title: Including Javascript files in a Chrome extension content script
body: <p>I'm writing a Chrome extension, and want to write one JS file, that provides several expected functions that aren't present in another, then load that other file. I'm after behavior similar to <code>require</code> in Perl, <code>#include</code> in C, or <code>execfile</code> in Python when passing the current modules locals and globals, as though the referenced file was inserted directly into the current script.</p>
  
  <p>Most existing solutions I can find out there refer to embeddeding these "includes" inside script tags, but I'm not sure this applies (and if it does, an explanation of where exactly my extension is injecting all these script tags in the current page).</p>
  
  <h2>Update0</h2>
  
  <p>Note that I'm writing a content script. At least on the "user" side, I don't provide the original HTML document.</p>