title: Inserting content script in all new tabs opened from a particular tab
body: <p>I am building a Record/Playback chrome extension where the user can click a browser action to start the recording of his actions. This will insert a Content Script into the current active tab and start sending the actions to the background script. The challenging part is when the user clicks a link which opens a new window/tab and a script, the <code>background.js</code> keeps a track of new tabs created using <code>chrome.tabs.onCreated.addListener</code> and inserts the content script into the newly created tab if its <a href="https://developer.chrome.com/extensions/tabs" rel="nofollow">Opener Tab ID, <code>openerTabId</code></a> is same as the ID of the starting tab.</p>
  
  <p>The whole methods seems a bit clunky to me. Is this the best way?</p>