I want to show users how their internet site appearance in the cell so for this cause, I used iframe in my internet site to load their internet site with the aid of giving URL however for a few security motives websites no longer loaded there are cors coverage issues. I also use curl but a few documents not loading due to protection. Is there any API or right way to load like in a real cell device?
<form method="get">
<input name="website_url" type="url">
<input type="submit">
</form>
<iframe src="<?=$_GET['website_url']?>"></iframe>
1 Replies
You could open a new browser window, of the correct width, using Javascript. Run window.open() function this will probably work, but is, of course, not the same as an in page iframe.