Closed Bug 86282 Opened 25 years ago Closed 24 years ago

Never let websites maximize windows

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: BenB, Assigned: joki)

References

Details

The Maximize feature of many window managers (make the window as large as the screen) makes almost no sense on a workstation or other machines with a very high resolution display, like 1600x1200 or even dual head. I didn't encounter a situation where a websites maximized a window and I agreed. Add option to disallow sites to maximize the (browser) window in any way. I think the only current way is window.open, with either some 'maximize' flag or explicitly giving a size that resembles the screen size (which can be gotten via JS, too). Disable bpth ways, if option is on.
> explicitly giving a size that resembles the screen size (which can be gotten via > JS, too). Disable Maybe, you could achive that by constraining tha size of the newly opened window to the size of the originating/standard browser window. It would be nice, if you could add another option to always use the size of the standard browser window, not letting the site specify a larger /or a smaller/ window. Implementation might be similar to bug 86284.
Blocks: 86195
Bug 64560 would achieve the same goal, even better, but will be harder to implement.
See bug 60323 for preventing web sites from resizing existing browser windows.
Not sure when we'd get to this. Setting milestone to future.
Target Milestone: --- → Future
Shouldn't this bug be fixed? There's Preferences -> Advanced -> Scripts & Plugins -> Move or resize existing window. Won't disabling this option prevents maximizing the window (which is a form of resizing as well)? If so, this bug should be set to fixed as there now is a way to prevent that. To me it looks like there are way too many bugs open that has been fixed half an eternity ago.
I agree to the previous comment. Does someone have a case where this option does not prevent maximizing? pi
Nobody has had any comment so far to keep this bug open, so I really think this bug is fixed. If someone is annoyed that the JavaScript option is named "Move or resize existing window", then he can make a RFE to discuss splitting that into two options "Move window" and "Resize window", however, I think whoever started this bug is satisfied with the current solution. Mozilla is still allow to create a new window that is maximized if you disable the current option, but the currently opened windows stay untouched in any case. If new Windows are unwelcome, too, as some pages open up Windows to cover your whole screen (usually to display advertisement and preventing the user from easy closing the window), then there is another option to disallow opening unrequested windows (then only if you click on a link a new window may open, but never on page load or page exit). Despite that, soon there might be a per-site management of these preferences (some users discuss that in another bug), so just like having cookies and plugin management per site, there might be a JS permission management per site as well in the future.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.