Karlonia.com
For Gold, Peace, and Freedom

Karlonia.com

How to Stop Websites from Resizing Firefox Windows

July 23rd, 2008

stop-resize-windows-firefox.jpgIn addition to having the need to resize pop-up windows occasionally, we Firefox users also encounter annoyances such as websites forcibly resizing our browser window for no apparent reason. This has happened to me before with certain traffic exchanges where every time another site came up in the rotation, the window would suddenly shrink from full screen down to about one fourth of its normal size. This made it very difficult to view all of the content on the page without constantly pressing the maximize button in the upper right corner. Fortunately, while searching for information on regaining the ability to resize windows, I also found out the solution to this little annoyance. Here is what you need to do to prevent websites from resizing your Firefox windows at their whim:

  • For Windows users, go to Tools >> Options from your browser menu. For Mac and Linux users, it’s Edit >> Preferences.
  • Click on the tab at the top of the Options menu that says “Content”.
  • Look to the right of the Enable Javascript checkbox and click the Advanced button.
  • You should see a pop-up menu with the title of Advanced Javascript Settings that looks like this:

    resize-firefox-windows-menu.jpg

    Now you need to uncheck the box to the left of “Move or resize existing windows”. It’s the first menu option and is highlighted by the dotted box in the screenshot above.

  • Click OK and you’re done! No longer will you have to worry about having your browser window suddenly resized without your permission. Of course, if you want allow on-page scripts to resize the window for some reason in the future, you can always re-check the appropriate box.

This little tip has saved me many headaches, especially when surfing through traffic exchanges, paid-to-read (PTR), and paid-to-promote (PTP) sites, which seem to have more than their fair share of pages with annoying scripts that try to hijack your browser in some way.


7 Responses to “How to Stop Websites from Resizing Firefox Windows”

  1. comment number 1 by: Webmaster Den

    Thanks for this tip!
    It was getting on my nerves when some confirmation messages would squeeze all tabs into 300×200 window!

  2. comment number 2 by: Journeyetc

    This was annoying the hell out of me lately! this post was of immense help

  3. comment number 3 by: revenue

    Yup i have the same experience like you too, thanks for the tips :)

  4. comment number 4 by: chanti

    hah, nice! thanks for posting this. very helpful.

  5. comment number 5 by: Levitra

    great advice. thanks for the posting. makes for an interesting and informative read on an otherwise quiet day in the office.

  6. comment number 6 by: Thanksgiving Recipes

    ah thank you so much for posting this i hate when firefox decides to resize things

  7. comment number 7 by: Cubefield

    Great tip, thanks for sharing!

Post Your Comments, Opinions, or Suggestions Here:

Name

Email (optional)

Website (optional)