title: How can I open a link in new tab (and not new window)?
body: <p>I have an 'Open' button that 'calculates' a link that should be opened in a new tab.
  I try to use:</p>
  
  <pre><code>window.open(url, '_blank');
  </code></pre>
  
  <p>But that opens a new window.</p>
  
  <p>I also tried the following method:</p>
  
  <pre><code>&lt;form id="oform" name="oform" action="" method="post" target="_blank"&gt;
  &lt;/form&gt;
  
  ...
  
  document.getElementById("oform").action = url;
  document.getElementById("oform").submit();
  </code></pre>
  
  <p>Still, a new window is opened, instead of a new tab.</p>
  
  <p>When using simple <code>&lt;a href...&gt;</code> with <code>target='blank'</code>, the link is opened in a new tab.</p>
  
  <p>Is there a solution?</p>