How to open two tabs by clicking on a link

<a href="http:/google.com" data-href2="https://script-money.cc/">Click</a>


<script>
var els = document.querySelectorAll("a");
for(var i = 0; i < els.length;i++)
  els[i].addEventListener("click",function(){if(this.getAttribute("data-href2"))window.open(this.getAttribute("data-href2"));},false)
</script>
<a href=//yandex.ru onclick=window.open('//google.com')>ссылка</a>

Check Also

CashWars roulette script

CashWars roulette script

CashWars roulette script Password is the word password ➜ [ᴠɪᴘ] ᴅᴏᴡɴʟᴏᴀᴅ ᴅᴏᴡɴʟᴏᴀᴅ ɪs ᴀᴠᴀɪʟᴀʙʟᴇ ꜰᴏʀ …

Leave a Reply

Your email address will not be published. Required fields are marked *