Can not display external page in <iframe>, not an X_FRAME issue -


i have iframe - iframe works when src points page on same server, allowing me embed pages.

the same iframe not allow me embed pages server. have tried different src= pages , different browsers on windows, osx , linux. have tried hard-coding src attribute , setting programatically.

i haven't worked w html years , know click-jacking has caused hosts disallow content confident not issue.

<iframe src='mypage.html' name='i' id='i'></iframe>  

works expected

<iframe src='http://theirserver/theirpage.html' name='i' id='i'> </frame>  

does not work expected

not sites allow embed them via iframe (such google). if using chrome, check console. if have error "refused display 'https://www.google.com/' in frame because set 'x-frame-options' 'sameorigin'." site not allow embed it.

basically if site uses header x-frame-options, , has set sameorigin, there's nothing can do.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -