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
I have searched for it, but have not got any solution, the focus() function is as I have understood is useful when opening popups.
I am using : window.open() function
window.open("myurl");