搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Problems with iframe cross domain

  • 1 回覆
  • 3 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

Hy,

I didn't have any problems with iframe (except on facebook apps developped for security reasons, not the problem).

I change an option on google chrome some days ago: I think it was something like authorize iframe from other domains (a cross-domain so).

Since, any iframe can load even in firefox. I try to find again the option on chrome, but it has disappeared (without update I think) I verified global internet option (windows 7) and check iframe cross domain option, even with this I can't load cross domain iframe, even if I create en html doc with the code: <iframe src="http://www.google.fr" width='100%' height='200px'></iframe>

no option on firefox (aurora by the way updated).

Hy, I didn't have any problems with iframe (except on facebook apps developped for security reasons, not the problem). I change an option on google chrome some days ago: I think it was something like authorize iframe from other domains (a cross-domain so). Since, any iframe can load even in firefox. I try to find again the option on chrome, but it has disappeared (without update I think) I verified global internet option (windows 7) and check iframe cross domain option, even with this I can't load cross domain iframe, even if I create en html doc with the code: <iframe src="http://www.google.fr" width='100%' height='200px'></iframe> no option on firefox (aurora by the way updated).

所有回覆 (1)

more options

Note that pages that send a X-Frame-Options: SAMEORIGIN header can't be loaded in a iframe.


See the Web Developer > Error Console (Ctrl+Shift+J).