Has the support for this been withdrawn permanently or is there a way to enable it in v7 or v8?
- All posts
- Helpful Solutions
The answer is probably in here somewhere, would hate to think I'd have to code a dozen policy statements or one allow everything:
This is what i tried and failed with, it has to say who has access
//* 7.0.1 resize user_pref("capability.policy.policynames", "default"); user_pref("capability.policy.default.Window.alert", "allAccess"); user_pref("capability.policy.default.Window.confirm", "allAccess"); user_pref("capability.policy.default.Window.prompt", "allAccess"); user_pref("capability.policy.default.Window.innerWidth.set", "allAccess"); user_pref("capability.policy.default.Window.innerHeight.set", "allAccess"); user_pref("capability.policy.default.Window.outerWidth.set", "allAccess"); user_pref("capability.policy.default.Window.outerHeight.set", "allAccess"); user_pref("capability.policy.default.Window.sizeToContent", "allAccess"); user_pref("capability.policy.default.Window.resizeTo", "allAccess"); user_pref("capability.policy.default.Window.resizeBy", "allAccess");
// allow/Prevent web pages from moving browser windows
user_pref("capability.policy.default.Window.screenX.set", "allAccess"); user_pref("capability.policy.default.Window.screenY.set", "allAccess"); user_pref("capability.policy.default.Window.moveTo", "allAccess"); user_pref("capability.policy.default.Window.moveBy", "allAccess");
Chrome has a decent resize extension here: https://chrome.google.com/webstore/detail/kkelicaakdanhinjdeammmilcgefonfh]]
I haven't managed to find one for FF and if there is one, not sure if it will work with v7+.
Starting in Firefox 7 window moving and resizing is no longer allowed with a few exceptions. See question 880032.
Bug 565541 - Web sites shouldn't be allowed to resize main window
Thanks knorretje amazing how much crap one puts up with when you think you have more control. Goodbye to 27 bookmarklets that really helped, goodbye to a couple of Mozillazine articles that helped many people. Was going to mark as solved (reluctantly, of course when solved does not mean fixed) and realized it not only wasn't my problem but I've never even posted a problem here. Thanks for the links.
Windows 7 has nice keyboard shortcuts specifically for left or right half of screen or maximize/normalize (restore). "Winkey+arrowkey" but they also make manually moving windows to edges of screen difficult without grabbing the edges. The keyworded bookmarks were a great help for viewing and checking out my web pages.
Summary of steps described in http://kb.mozillazine.org/Resizing_oversize_window
- use "Alt+Spacebar" in Windows to Maximize active window
- Change services.sync.prefs.sync.dom.disable_window_move_resize to false using about:config
- (reduce from 1024 if your screen width is less than 1024)
- about:config must be the active tab
- Invoke the bookmark directly from your bookmarks (with Firefox 7.0.1 you can no longer invoke a keyword shortcut from the location bar involving move/resize).
Only windows created via window.open() can be resized.
- bug 565541 - Web sites shouldn't be allowed to resize main window (#c24)
I've accepted a Solution but the problem isn't solved.
I don't understand what problem there is with allowing the main window to be resized. If some websites abuse this then users will stop using them! Having read the comments in the link knorretje posted, the discussion seems to have faded and those who relied on this functionality remain unappeased.
I'll be sticking with FF v6.0.2 for sometime and will switch to Chrome as my default browser as it has an easy to use resize extension.
I'm shocked. This seems like something Microsoft would implement in Internet Explorer. Thanks for the about:config trick. That worked, but it's grossly unreasonable. Mo' zilla, Mo' problems.