title: Turning bookmarklet into Chrome extension
body: <p>I'm trying to use <code>loadURI()</code> in a Google Chrome extension so that I can execute a bookmarklet when the toolbar button is pressed.</p>
  
  <pre><code>// in background.html
  chrome.browserAction.onClicked.addListener(function(tab) {
    console.log('clicked!');
    chrome.tabs.executeScript(tab.id, {code: "loadURI('http://www.google.com')"});
  });
  </code></pre>
  
  <p>All I get is <code>'clicked!'</code> in the log and nothing else happens. No errors. Does anyone know what I'm doing wrong?</p>