Closed Bug 132233 Opened 24 years ago Closed 23 years ago

Right click context menu item to resize large browser windows to within the screen display

Categories

(Core :: Security: CAPS, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: u32858, Assigned: security-bugs)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020227 BuildID: 2002022700 many sites have popup windows that are huge, so huge that its not possible to resize them to within the screen size. This is bad site design on the webmasters part but we need a way to rezise the window. (or automatically change the values in the javascript so that the browser can not open a window thats too big!) Reproducible: Always Steps to Reproduce: 1.go to the URL above 2.or any other site that has huge popups 3. Actual Results: window is too large, can not find the bottom right resize window icon Expected Results: the popup command should be either limited or the javascript interpriter should change it automatically so we dont have this problem Context menu item would be nice. There are work arounds, but it would be nice if we did not have to use work arounds when there are some bad web site designs out there, IMO
to CAPS (Mitch already has a bug on this sort of thing)
Assignee: trudelle → mstoltz
Component: XP Apps → Security: CAPS
QA Contact: paw → bsharma
Whiteboard: DUPEME
Hmm, we have an option to prevent scripts from opening new windows, but I don't think we have an option that puts any restrictions on the initial size of the window (other than keeping it no larger than the screen, of course). We could add an option for keeping new windows restricted to n% of screen area - but is it worth it? We have been getting lots of well-meaning suggestions for new annoying-content controls, and I'm worried about feature bloat - too many options leads to confusion. Since we now have a pretty effective mechanism for blocking unwanted popup windows entirely, I'm not convinced we need to put restrictions on their size. Comments, anyone?
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
The window is opened bigger than my screen. hmm, is mozilla checking visible size against screen size or whole window+bars+scrolers etc against window size? as that example website's popup is too big to reach the resizer in the bottom right JG
> hmm, is mozilla checking visible size against screen size or whole > window+bars+scrolers etc against window size? It's supposed to take the titlebar, scrollbars, etc. into account, and AFAIK it does so on all platforms except some Unix/Linux window managers. There's a bug on that somewhere. JG, which WM are you using?
KDE 2.2.x on Mandrake 8.1
Related bugs: bug 103454 Scripts can hide Enlightenment's window decorations. bug 104303 Security of resizeTo relies on platform-specific widget code to enforce restrictions on window size, so scripts can make huge windows.
Target Milestone: --- → Future
Wontfix.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.