Apparently it is not possible to open a background tab, I found this response , the test:
function openNewBackgroundTab(url)
{
var a = document.createElement("a");
a.href = url;
var evt = document.createEvent("MouseEvents");
//the tenth parameter of initMouseEvent sets ctrl key
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
true, false, false, false, 0, null);
a.dispatchEvent(evt);
}
<a href="https://pt.stackoverflow.com" onclick="openNewBackgroundTab('https://www.google.com.br');">Redireiciona para a Home</a>
However did not work , I believe Chrome has removed this capability.
I do not think it's possible to do this at all, because that would be to control the end user's machine / decision and actually put yourself in his place, would you like it to be open?
The control of where the page will open should be the user's decision I believe, maybe I should change the approach.