Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Mac-friendly Firefox window resize bookmark' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Mac-friendly Firefox window resize bookmark
Authored by: lowbatteries on Dec 02, '08 04:52:58PM

There is an open bug to fix the zoom button in firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=232919

The green button is not a maximize button. Running all your applications full screen all the time completely ruins a lot of the usefulness and elegance of OS X, like drag-n-drop. The green button is a zoom-to-fit-the-contents button, and is infinitely more useful than a 'maximize' button. That said, it would be nice if "ctrl+zoom button" did maximize the window.

The javascript provided above will only make pages bigger, not smaller, and also won't reposition them if they are hanging off the edge of the screen.

Here is the bookmarklet I use, which tries to replicate the zooming that Safari does (you may need to replace line breaks with spaces):


javascript:zoomWindow = function(){
h=Math.max(300,screen.availHeight-window.screenY)
window.resizeTo(800,h);setTimeout("h="+h+";
w=window.innerWidth+window.scrollMaxX;window.resizeTo(w,h);
dx=Math.min(0,window.screenX+w-window.screen.availWidth);
dy=Math.min(0,window.screenY+h-window.screen.availHeight);
window.moveBy(dx,dy)", 100) }; void(zoomWindow());
Or you can go to this page to easily install it: http://lowbatteries.com/zoom-bookmarklet.html

[ Reply to This | # ]