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

144
Visualizações
IOS blocking my website embed content from external source

IOS devices does not display the embedded content.

So I have some js that inserts a webpage embed into a div, also adds whatever class I have on the div as a url extention :

function To_Insert_Functn() {
var codePage = document.getElementById("insert").className;
var url = 'thewebsiteurl goes here from external website';
    document.getElementById("insert").innerHTML='<embed id="disPlayIt" type="text/html" src="">';
    document.getElementById("disPlayIt").setAttribute("src", url + codePage);

}

Then some html to load function and create div to embed the page into :

<body onload="To_Insert_Functn()"></body>
<div id="insert" class="index.html"></div>

Does any know how to get the content to show? It display on pc and samsung devices so far, also works on google chrome and firefox, but Iphones and Ipads dont show any of the embedded content.

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