JavaScript/jQuery | Open link in new tab while remaining focus (mimic ctrl/cmd click)
<p>Basically, I want to be able to open links (using key commands not the mouse) in new tabs while remaining focus on the current window.</p>

<p>The only example I've seen of this being done is like so...</p>

<pre><code>window.open("http://mysite.com/thing.php?id=" + thingid, '_blank');
self.focus();
</code></pre>

<p>However this method is sloppy because it will momentarily focus the new window and then jump back to the original window. I don't want it to ever leave the open window.</p>

<p>So, does anyone know how this task can be accomplished in JavaScript/jQuery? Any help is appreciated, thank you.</p>
