Prevent ugly auto-resizing of Firefox browser windows
Ever since I launched this site and started working with WordPress, I’ve been plagued with unmanageable ugly pop-up windows that come up when I try to insert pictures and/or view the raw HTML of a post using the TinyMCE (Rich Text) Editor. Almost invariably the window that would pop-up would be resized to really odd dimensions on their own causing most of the text input fields to be placed out of sight. As a result, I’d to type the location of the images almost blindly. Really frustrating if you know what I mean.
Here’s a snapshot…
You can figure how difficult it was to fill up the required data for the image. Worst part was these pop-up windows were devoid of any sort of resizing grip/control and hence you couldn’t even drag it and resize it to a desirable dimension.
Second problem I faced was that certain sites I visited would either pop-up similar windows or suddenly caused the Firefox window to resize itself to ridiculous dimensions like 50 x 50 pixels just to display some useless ad. A major nuisance, if you ask me.
The first option in the resultant window is “Move or resize existing windows“. Simply uncheck that and click OK and you’re done.
While this sounds like a trick to fix the window auto-resizing owing to badly behaved pages, this works wonders for the first case I mentioned here i.e. for the pop-ups of TinyMCE Editor.
Once this option this option was turned off, the result looked like this… Loud and clear, eh ?
There’s another way of achieving the same effect though somewhat tricky for the beginners. Open a new tab in Firefox and in the Address bar, type about:config and press Enter.
This will bring up a whole bunch of Firefox configuration options. In the search Filter, type resize. This will bring up an option called dom.disable_window_move_resize. Double-click on it to change its value to true. That should do the trick.