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

207
Visualizações
How to allow cross origin on iframe through sandbox parameter

App is render as 'iframe' micro app and there is another 'iframe' within microapp 'iframe'.

Micro app iframe renders as below:

sandbox="allow-scripts allow-popups allow-modals allow-forms allowdownloads allow-same-origin"

when inner iframe try to access outer iframe then it creates below error:

Blocked a frame with other "https://microapp-ifram.com" from accessing a cross origin frame.`

Is there any way on "sandbox" parameter which can allow cross origin ?

By removing "sandbox" it worked but having "sandbox" causes CORS issue. I can not remove "sandbox" as its not in control. but, I can add any additional attribute to fix CORS.

Something like this if any valid sandbox parameter: sandbox="allow-scripts allow-popups allow-modals allow-forms allowdownloads allow-same-origin <ALLOW CROSS ORIGIN> "

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