title: How can I capture events triggered on an extension icon?
body: <p>I want to write an extension for Chrome where, certain mouse actions on the extension icon trigger certain responses.</p>
  <p>For example, I want the icon to behave differently when it's clicked, double clicked, scroll clicked, and scrolled on <sup>1</sup></p>
  <p>How can I attach event listeners to the extension icon? I don't mind if the icon has to be in the address bar or in the extensions bar.</p>
  <p><sup>1. I actually am focused on one event, &quot;being scrolled on&quot;--because this is the only even that can be triggered without having the window in focus. But I decided that a more general question is better.</sup></p>