Closed Bug 56743 (frame-off) Opened 25 years ago Closed 5 years ago

Add option to disable frames/force noframes

Categories

(Core :: Layout: Images, Video, and HTML Frames, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: bugzilla, Assigned: john)

References

Details

(Keywords: access, Whiteboard: [p-ie/mac] [p-icab] [p-opera])

A useful feature of Opera is the ability to disable frames. This makes it easier to get bookmarkable URLs for subframe pages, and to test accessibility. (Both as a web developer and as a reviewer for the Open Directory Project.) Mozilla's inability to render NOFRAMES content can also interfere with pages which are designed to look one way inside a frameset and another way outside of one. See bug 47658. Mozilla has options to disable Java, JavaScript, image loading, cookies, and to a limited extent style sheets. Why not frames?
Taking a stab at a milestone - CC'ing Harish as this relates to work he is doing.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
See related bug 47658
QA Contact update
QA Contact: petersen → amar
We need to enable support in gecko (bug 69455) then we can add a preference and a UI (this bug).
Depends on: 69455
Bulk reassignin HTML FRAME/IFRAME bugs to Eric.
Assignee: pollmann → evaughan
Status: ASSIGNED → NEW
Bug 89557 is for the GUI. This bug can be marked fixed when there is a back-end pref for disabling frames, and a back-end pref for disabling iframes (which generally aren't as annoying as frames so should be controlled independently).
Whiteboard: [p-ie/mac] [p-icab] [p-opera]
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Bulk re-assigning all of Eric's HTMLFrame bugs to John.
Assignee: eric → jkeiser
Keywords: access
IF this option is implemented, it will need to have special code to show links to the various frames in the frameset. NOFRAMES content would be shown if it was there; but I think both need to be shown at all times because on many pages, NOFRAMES is just a useless patronizing diatribe against "users with obsolete browsers that don't support frames." The links could be in a sidebar tab potentially. JavaScript and links in those frames will likely open new windows. Because it will contain much new code and large numbers of codepaths, it has to be useful enough for many users to use. Otherwise the codepaths will be untested and rot; and *worse*, frame, form and link developers will be forced to think about this new pref for every link-clicking, URL-resolving, window-opening feature they hack on or add. New restrictions should not be lightly draped upon programmers; we have more than enough complexity to go around already. On the plus side, as timeless points out, this will presumably make Mozilla more useful on small screens and PDAs; frames tend to take up more space than necessary on these devices, and usually at the left top where you start scrolling.
> The links could be in a sidebar tab People who turn off frames probably also are not using a sidebar, for the same reason (conservation of screen real estate) and do not want to see the content of the other frames. > this will presumably make Mozilla more useful on small screens and PDAs Agreed. The Palm-based browsers I've used generally request the NOFRAMES content anyway. Now and then I see "This page uses frames and your browser doesn't support them", which doesn't bother me any more than pages that depend on Java or Flash or inline images -- it's a sign of a bad page author, not a bad browser.
If people do not want to see the content of other frames, period, then they could turn off the sidebar and turn it back on when they want to see them again ... or we could print them in the browser window or in a special Frames Toolbar with options like the Links Toolbar (disable always, enable only when frames appear, enable always). If we present them in the browser window that could make things a little ugly, especially if your experience is the common one and NOFRAMES content is generally more than just "your browser doesn't support frames, stupid." Perhaps we should go with another timeless suggestion in this case, and use the size of the content to decide whether or not to display the links to the frames. This makes me queasy. PDAs already request NOFRAMES? Well, if your user experience with it is such that you can usually see pages, that pretty much deals with my argument that you shouldn't disable frames. Akkana, have you noticed what those PDA browsers do in the case that there are frames but no NOFRAMES content?
*** Bug 153218 has been marked as a duplicate of this bug. ***
Alias: frame-off
Coping "force noframes" from subject of duplicate bug so searchers may find this one with 'noframes' searches.
Summary: [Feature] Add option to disable frames → [Feature] Add option to disable frames/force noframes
retargeting
Target Milestone: mozilla1.0.1 → Future
Summary: [Feature] Add option to disable frames/force noframes → Add option to disable frames/force noframes
Depends on: 242298
*** Bug 303250 has been marked as a duplicate of this bug. ***
I wonder if it's really that difficult to solve this six(!) years old bug. After all it's just a matter of adding a new setting (which might be presented only in userprefs.js) and a simple if (iframes.enabled) { render(iframe); } else { content = parse_tag(iframe); print(content); } in the browser source file.
QA Contact: amar → layout.html-frames
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core

We are not going to implement this.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.