Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

126
Visualizações
Metamask extension break my iframe script

I've recently found that my iframe code doesn't work when I have metamask enabled even with enablejsapi

After further test I found out that the iframe work if you click before metamask trigger an window.onmessage event, but after I only get : Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://reetags.com’) does not match the recipient window’s origin (‘https://buzzao.com’).

Since I've found this bug, I'm trying to find a way to prevent any conflict with an extension, currently I've succeeded at preventing it to launch our script by checking source and params in window.onmessage, but now I'm stuck and I've ran out of ideas

The iframe can be found on our partner website https://buzzao.com/ , you can click on a video under the 'LIVE SHOPPING BUZZAO' title to test it

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda