How do I open a new tab/window using JavaScript?
<h1>Objective</h1>

<p>I want to open a URL in a new tab/window in the <strong>EXACT</strong> same manner as target="_blank" would. </p>

<h1>Code</h1>

<p>I'm using a PHP condition which triggers the following JavaScript:</p>

<pre><code>&lt;script type="text/javascript"&gt;
window.open ("http://www.google.com/","_blank", "status=1,toolbar=1");
&lt;/script&gt;
</code></pre>

<h1>My problem</h1>

<p>window.open is <strong>NOT THE SAME</strong> as target="_blank" hyperlinks.</p>

<ol>
<li>It presents an issue with pop-up blockers.</li>
<li>The window requires parameters to look like what target="_blank" would have produced.</li>
<li>Once the JavaScript runs, certain font colors of the containing document are lost.</li>
</ol>

<h1>My question</h1>

<p>How do I EXACTLY simulate what's produced by target="_blank"?</p>
