title: Chrome window.open after ajax request acts like popup
body: <p>I have a situation where, when a user pushes a button I perform an ajax request, and then use the result of the ajax request to generate a URL which I want to open in a new tab. However, in chrome when I call window.open in the success handler for the ajax request, it opens in a new window like a popup (and is blocked by popup-blockers).  My guess is that since the the success code is asynchronous from the click handling code that chrome thinks it wasn't triggered by a click, even though it is causally related to a click. Is there any way to prevent this without making the ajax request synchronous?</p>
  
  <p><b>EDIT</b>
  Here is some minimal code that demonstrates this behaviour: </p>
  
  <pre><code>$('#myButton').click(function() {
      $.ajax({
          type: 'POST',
          url: '/echo/json/',
          data: {'json': JSON.stringify({
              url:'http://google.com'})},
          success: function(data) {
              window.open(data.url,'_blank');
          }
      });
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/ESMUA/2/">http://jsfiddle.net/ESMUA/2/</a></p>
  
  <p>One note of clarification: I am more conerned about it opening in a separate window rather than a tab, than I am about it being blocked by a popup blocker.</p>