This script is to open two tabs or more in the browser on a single link. Clicking on the link opens only one new tab and the other is blocked as pop-ups by the browser. How do I not to block? Or is there another way to open multiple tabs in a single link?
<script language="JavaScript">
function teste() {
window.open("www.google.com.br", "_blank");
window.open("www.gmail.com.br", "_blank");
}
</script>
<a href="javascript:teste();">Clique aqui para abrir as abas</a>