Stay on Current Tab while using window.open()
<p>I am opening a window in another tab in my code, but the problem is the focus shifts to new tab opened, I want the focus to remain on the current window</p>

<p>I have searched for it, but have not got any solution, the focus() function is as I have understood is useful when opening popups.</p>

<p>I am using : window.open() function</p>

<pre><code>window.open("myurl");
</code></pre>
