title: Force window.open() to create new tab in chrome
body: <p>I use window.open to populate a new window with varying content.  Mostly reports and stored HTML from automated processes.</p>
  
  <p>I have noticed some very inconsistent behavior with Chrome with respect to window.open().</p>
  
  <p>Some of my calls will create a new tab (preferred behavior) and some cause popups.</p>
  
  <pre><code>var w = window.open('','_new');
  w.document.write(page_content);
  </code></pre>
  
  <p>page_content is just regular HTML from AJAX calls.  Reports contain some information in the header like title, favicon, and some style sheets.</p>
  
  <p>In IE9 the code does cause a new tab instead of a pop-up, while Chrome flatly refuses to show the content in question in a new tab.  Since the content is sensitive business data I cannot post it here.  I'll answer questions if I can.</p>
  
  <p>I know some people will say this is behavior left up to the user, but this is an internal business platform.  We don't have time to train all the users on how to manage popups, and we just need it to be in a new tab.  Heck, even a new window would be preferable to the popup since you cannot dock a popup in Chrome.  Not to mention none of the popup blocking code would affect it.</p>
  
  <p>Appreciate any insight.</p>