Closed Bug 255712 Opened 20 years ago Closed 20 years ago

Always allow window resizing option for Advanced Javascript Option

Categories

(Firefox :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 101509

People

(Reporter: brett, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040812 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040812 Firefox/0.9.1+ Some sites use javascript to disable the ability to resize a pop-up window. An option in the Advanced Javascript Options dialog to prevent pages from doing this would be desirable. Some sites implement their window sizes poorly and content is obscured by the fixed size window. Allow Scripts to: "Disable window resizing" is probably a suitable option name, I guess. This page <http://www.whitestripes.com/discs/elephant.html> uses the technique. Reproducible: Always Steps to Reproduce: 1. Open <http://www.whitestripes.com/discs/elephant.html> 2. Click on a thumbnail -- window should pop up. 3. Try to resize pop-up window. Actual Results: I can't resize the window. Expected Results: If requested option existed and was turned on, I would be able to resize the pop up window.
This set of prevs in user.js user_pref("dom.disable_window_open_feature.location", true); user_pref("dom.disable_window_open_feature.menubar", true); user_pref("dom.disable_window_open_feature.minimizable", true); user_pref("dom.disable_window_open_feature.resizable", true); user_pref("dom.disable_window_open_feature.scrollbars", true); makes sure you can still do anything to windows that pop up
(In reply to comment #1) > This set of prevs in user.js > > user_pref("dom.disable_window_open_feature.location", true); > user_pref("dom.disable_window_open_feature.menubar", true); > user_pref("dom.disable_window_open_feature.minimizable", true); > user_pref("dom.disable_window_open_feature.resizable", true); > user_pref("dom.disable_window_open_feature.scrollbars", true); > > makes sure you can still do anything to windows that pop up Those are cool -- I guess what I'm requesting is a GUI implementation of those options, particularly .resizable :) Cheers though, Peter :)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.