In most cases, you use the function in the link (target="_blanc") to open a new tab.
However, this doesn't always work. As an example, we take a link and use it to open a new tab.
In this, there is another link that should open a new tab.
But this no longer works because the browser thinks that your tab has already been opened and opens the new link in the same tab.
With the following code, all tabs are reopened without exception.
<script>jQuery('a[target^="_opennewtab"]').click(function() { return openWindow(this.href);}</script>
<a href="url" aria-label="name" target="_opennewtab">