title: Chrome: "open link in new tab" not firing the click event?
body: <p>I'm developing a Chrome extension that does something when a <code>&lt;td&gt;</code> tag is clicked in a web page.</p>
  <p>Here's some sample code:</p>
  <p>HTML:</p>
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td id=&quot;mytest&quot;&gt;&lt;a href=&quot;http://blablabla.com&quot;&gt;Foo Bar&lt;/a&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  <p>Javascript:</p>
  <pre><code>var myTd = document.getElementById(&quot;mytest&quot;);
  myTd.addEventListener(&quot;click&quot;, function() {
      localStorage[&quot;foobar&quot;] = 1;
  });
  </code></pre>
  <p>When I click the link, the <code>localStorage</code> key is set, if I click it with the mouse middle button, it also sets the key (and opens the link in a new tab).</p>
  <p>The problem is when I use right-click and &quot;open link in a new tab&quot;. In this case the click event doesn't seem to be fired and therefore the <code>localStorage</code> key will not be set.</p>
  <p>Am I missing something? Is there any way to make the right-click -&gt; &quot;open link in new tab&quot; fire the click event?</p>
  <p>Please note that I don't want to add the listener to the <code>&lt;a&gt;</code> node, because of some complications in the real HTML I'm working on.</p>