Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

150
Views
IOS está bloqueando mi sitio web incrustando contenido de una fuente externa

Los dispositivos IOS no muestran el contenido incrustado.

Así que tengo un js que inserta una página web incrustada en un div, también agrega cualquier clase que tenga en el div como una extensión de URL:

 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);

}

Luego, algo de html para cargar la función y crear div para incrustar la página en:

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

¿Alguien sabe cómo hacer que se muestre el contenido? Hasta ahora, se muestra en PC y dispositivos Samsung, también funciona en Google Chrome y Firefox, pero los iPhone y iPad no muestran ninguno de los contenidos incrustados.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!