title: ExecuteScript method
body: <p>Basically I'm trying to do a little chrome extension following Google documentation. I'd like to inject a script every time the extension button is clicked.
  This is my manifest so far:</p>
  
  <pre><code>    {
    "name": "Example",
    "manifest_version": 2,
    "version": "1.0",
    "permissions": [
      "tabs"
    ],
    "description": "My Chrome extension.",
    "browser_action": {
      "default_icon": "icon.png"
    },
     "background": {
      "scripts": ["background.js"]
    }
  }
  </code></pre>
  
  <p>And this is my background.js:</p>
  
  <pre><code>chrome.browserAction.onClicked.addListener(function(tab) {
    chrome.tabs.executeScript(tab.id, {code: "content_script.js"});
  });
  </code></pre>
  
  <p>The problem is that the content_script is not fired, even trying with such a simple <code>alert("aaa");</code></p>
  
  <p>Can you please tell me what I'm doing wrong? I can't figure it out.</p>