0
This script is to open two tabs or more in the browser on a single link. Clicking on the link opens only a new tab and the other is blocked as pop-ups by the browser. How do I not block? Or there is another way to open multiple tabs on a single link?
<script language="JavaScript">
function teste() {
window.open("www.google.com", "_blank");
window.open("www.gmail.com.br", "_blank");
}
</script>
<a href="javascript:teste();">Clique aqui para abrir as abas</a>
This question has already been answered here in the community. I did a quick search in the Stackoverflow directory and managed to find the answer. Work out.
– Alexander
#vdschuck Fixed the code was wrong, I tested this right, and try the code.
– KingRider