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

143
Views
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
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!