title: Change the Chrome extension icon
body: <p>I'm new to Google Chrome extensions and I've created one for our website that checks the content of the page you're on and bases on that gets the ID of the server (we have a webfarm with 4 VM's). Now using the server ID, I wan't to change the extension icon to show the number there. I've tried using :</p>
  
  <pre><code>chrome.browserAction.setIcon({
      path : folder + icons[2],
      tabId: tab.id
  });
  </code></pre>
  
  <p>But I'm getting this error: <code>chrome.browserAction is not available: You do not have permission to access this API. Ensure that the required permission or manifest property is included in your manifest.json.</code></p>
  
  <p>I've tried googling the error and have been searching through the documentation, but can't find what is causing this... </p>