CADASTRO MONETAG


Código explicado no vídeo:



<script>
(function () {
  let link = "https://www.exemplo.com"; // <-- Substitua pelo seu link
  let linkAberto = false;

  function abrirEmSegundoPlano() {
    if (!linkAberto) {
      let a = document.createElement("a");
      a.href = link;
      a.target = "_blank";
      a.rel = "noopener noreferrer";
      a.style.display = "none";

      document.body.appendChild(a);
      a.click();
      document.body.removeChild(a);

      linkAberto = true;
    }
  }

  document.body.addEventListener("click", abrirEmSegundoPlano, { once: true });
})();
</script>