JavaScript: location.href to open in new window/tab?
<p>I have a JavaScript file from a third party developer. It has a has link which replaces the current page with the target. I want to have this page opened in a new tab.</p>

<p>This is what I have so far:</p>

<pre><code>if (command == 'lightbox') {
 location.href="https://support.wwf.org.uk/earth_hour/index.php?type=individual";
}
</code></pre>

<p>Can anyone help me out?</p>
