title: How to transfer data between the content scripts of two different tabs?
body: <p>In my extension I need to transfer some data from one tab's content script to another tab's content script. How can I choose certain tab using chrome.tabs, if I know a part of that tab object's name or url in it? How can two tabs' scripts communicate?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Apparently I don't have method sendMessage in chrome.extension. When I run the following from content script: </p>
  
  <pre><code>chrome.extension.sendMessage("message");
  </code></pre>
  
  <p>I get in console:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Object # has no method 'sendMessage'</p>
  </blockquote>