title: How do I re-use code between content scripts in a Chrome extension?
body: <p>I'm working on a Chrome extension with many content scripts. Most of them use the same function(s), so I'd like to share those functions between the content scripts; however I can't seem to figure out how to do it.<br>
  Content scripts are sandboxed, so don't have access to the same <code>window</code> object. It seems there should be an obvious solution, but I haven't been able to find it.</p>