為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

iframe does not display.

more options

On page with 3 iframes, first iframe displays, the next two do not. Firefox on Linux. Chrome displays all three iframes. Firefox on Android displays all three iframes. On Linux, Save Page to disk, and then run the html off of disk, and all three iframes display!!!

On page with 3 iframes, first iframe displays, the next two do not. Firefox on Linux. Chrome displays all three iframes. Firefox on Android displays all three iframes. On Linux, Save Page to disk, and then run the html off of disk, and all three iframes display!!!

被選擇的解決方法

Yes, unlike HTTP images in an HTTPS page, which are allowed through with a little warning on the padlock, iframes are considered potentially dangerous active content and HTTP iframes won't be loaded into an HTTPS page -- and the cross-site aspect probably isn't helping.

When you saved the main document to a local file, the more lax rules for the FILE protocol were applied.

If this is your site, try to standardize the protocols.

從原來的回覆中察看解決方案 👍 2

所有回覆 (7)

more options

Can you provide a link to the problem page, assuming it's appropriate for a public forum?

You could check for messages in Firefox's Web Console. You can open the Web Console in the lower part of the tab using either:

  • "3-bar" menu button > Developer > Web Console
  • (menu bar) Tools > Web Developer > Web Console
  • (Windows) Ctrl+Shift+k

Then reload the page in the upper part of the tab and watch for error or security messages. (The lines with blue triangles generally are not significant unless you suspect a style rule problem.) Anything that sounds like it could be relevant?

more options

web console Blocked loading mixed active content “http://stage48.net/studio48/fukyouwaon.html”[Learn More]

fpp004.html

Blocked loading mixed active content “http://takahirony.com/”[Learn More] fpp004.html


my comment: youtube frame is https but the other two are http. I assume that is the complaint from my Firefox on Linux.

more options

Thanks for your help. At least I understand the problem. Its a security issue. But I would have expected that Firefox on Android would behave in the same way. We can end this now. Thanks again.

more options

選擇的解決方法

Yes, unlike HTTP images in an HTTPS page, which are allowed through with a little warning on the padlock, iframes are considered potentially dangerous active content and HTTP iframes won't be loaded into an HTTPS page -- and the cross-site aspect probably isn't helping.

When you saved the main document to a local file, the more lax rules for the FILE protocol were applied.

If this is your site, try to standardize the protocols.

more options

Once again thank you very much. This makes a whole lotta sense. Bringing a http page into a https page, compromises the security and is exploitable. Natch. But I am still bothered that Firefox on my Android mobile device does allow this! I would think that they should work alike. But thanks again. KK

more options

John1590 said

But I am still bothered that Firefox on my Android mobile device does allow this! I would think that they should work alike.

They should, if the protocol (HTTP vs. HTTPS) is identical on both devices. (I don't see the second and third frames if I use HTTPS on Fx/Android.)