Nomen Posted January 22, 2015 Share Posted January 22, 2015 This has been a problem for years, and I'm pretty sure this used to work, and I don't know if I put something in about:config to break it.So when you go to a page like this:http://www.zerohedge.com/news/2015-01-21/hedge-fund-manager-loses-998-9-months-tells-investors-he-sorry-overzealousnessRight after "To Mr. Li's less than sophisticated investors we have a short clip summarizing what just happened:" is an iframe. The code is this:iframe src="//www.youtube.com/embed/-DT7bX-B1Mg?rel=0" frameborder="0" height="281" width="500" /iframeIn firefox 2.0.0.20, I just have a blank line where the youtube video should be.In Netscape 9.0.0.6, the video is there and I can play it just fine. In both of them, in about:config, I have the same 2 lines that contain a "frame" setting of any sort. Browser frames enabled (true), and layout.frames.force_resizability (false). If there is another setting that has anything to do with iframes, then it must not have "frame" in the name. I don't think I have any add-ons that mess with iframes.Any ideas? Link to comment Share on other sites More sharing options...
Tripredacus Posted January 22, 2015 Share Posted January 22, 2015 The problem is... a single webpage is only allowed to have 1 of each of the root objects, such as:<html><DOCTYPE><header><body>ETC. So if a rendered page contains more than one of these, it shouldn't render it properly. Now where does these extra things come from? It is in the iframe target's code! It shouldn't be there and its Youtube's fault for offering people easy copypasta links for embedding videos designed as stand alone pages. Here is likely your culprit: All browsers being unequal, enforce web standards differently (for whatever reason) and you get different results. IMO, using code like this should NOT be ignored by any browser, resulting in breaking the rest of the page... which was what used to happen in the Web 1.0 days. Link to comment Share on other sites More sharing options...
jumper Posted January 22, 2015 Share Posted January 22, 2015 Yes, FF2..20 supports frames/iframes. Check browser.frames.enabled in about:config and any content-blocking plugins you might have.If you right-click inside the frame, you should see "This Frame >" in the context menu. Try some of the submenu options. Link to comment Share on other sites More sharing options...
Nomen Posted January 23, 2015 Author Share Posted January 23, 2015 (edited) When I bring up this page in firefox 2.0.0.20 and Netscape 9.0.0.6:http://www.globemoon.net/iframe-ex.htmlWith firefox I can't see the black box with its own scroll bar that says "C O N G R A T U L A T I O N S !!!! If you can see this page, then your browser supports iFrames." I *can* see that box with Netscape 9.0.0.6. This is my netscape user-agent string, and below that is the firefox user agent:Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20Slightly different version of Gecko - should that / would that make any difference?Now when I bring up this page:http://www.quirksmode.org/iframetest.htmlI *DO* see "YES" in the text-box immediately to the right of "Iframe:" with firefox, but I don't see the box above that that has "test page in iframe". With netscape, I see the word "Yes" and the box above it.I was thinking that this might have something to do with cross-site or cross-domain security and that perhaps I've disabled iframes in firefox 2.0.0.20 by implimenting some sort of cross-domain security setting or patch. That's the only thing I can think of.Searching on the web for iframe issues with firefox turns up a lot of stuff that must have happened with firefox in 2013 in response to some sort of security issue. Unless I'm not understanding something - it seems to me that iframe functionality was intentionally disabled in some more modern or recent version of firefox (well past version 2) back in 2013. Maybe they brought it back since then - or not. ?Edit: Could this be about disabling scripts inside iframes? The iframe test window on the quirksmode.org page contains a script. Edited January 23, 2015 by Nomen Link to comment Share on other sites More sharing options...
Tripredacus Posted January 23, 2015 Share Posted January 23, 2015 Disabling scripts inside of frames should still show you the text in the quirksmode test. This is how I have my (current) firefox configured. So for me, I can see the text inside the iFrame, however the text field says "no." This means that the authors of the test are expecting that if the script inside of the frame never runs, then that means the iFrame is not displayed which isn't the case. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now