title: Open new window after a click event not working in Safari, Chrome
body: <p>I'm trying to open a new window like so:</p>
  
  <pre><code>$('#wrapper').click(function() {
      window.setTimeout(function() {
          //alert('hi');
          window.open("http://example.com", "ExternalLinks", "resizable=yes, scrollbars=yes, status=yes");
      }, 1000);
  });
  </code></pre>
  
  <p>This works in Firefox, but not in Chrome or Safari (so far, I've just tested on a Mac). The <code>alert()</code> works in all browsers, so there seems to be something preventing the <code>window.open</code> from executing in Safari/Chrome. Furthermore, if I remove the <code>setTimeout</code> and just call the <code>window.open</code> then it does work in all 3 browsers. It's almost like if the <code>window.open</code> is nested too far away from the <code>click</code> event, then it doesn't work in Safari/Chrome.</p>
  
  <p>So you know, I have an all-Flash website and I'm trying to get external links to open in a new window, so I'm reading the hash tag in the URL (ex. htp://example.com/#/facebook/) and if it matches certain items, then I'm calling <code>window.open</code> to open a specific URL. I don't have access to the Flash source, or I would handle this there.</p>
  
  <p>Any ideas?</p>