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.
Thus, I got down to figuring out a way to stop this. Now, with whatever limited knowledge of JavaScript I have, I knew for sure this was being done with some JS code. It didn’t take me long to find the solution. Browsing around the Firefox support forums helped a lot.





