How to resize popups in Firefox - gHacks Tech News

How to resize popups in Firefox

You may have encountered popups on the web while using Firefox that did not display all information because their dimension was too small.

That's a problem, especially if it was an informative or needed popup window and not one that contained advertisement or other unwanted contents. A login form that does not display the login button is problematic for instance.

Unfortunately though it is usually not possible to modify the size of a popup window in the browser. While you can resize windows without issues, popups seem to be fixed to the initial resolution they are spawned in.

The display issue can be caused by incompatibilities or because of differences between browsers. If the creator only tested it in Microsoft's Internet Explorer, the popup may display incorrectly in Firefox or Opera for example.

There is however a way in Firefox to override this so that you can resize popup windows regardless of whether that is allowed or not by default.

To do so you need to type about:config in the address bar of Firefox and search for the term dom.disable_window_open_feature.resizable. Note that you may need to confirm that you will be careful before the page is loaded if you never loaded it before.

firefox resize popups

Set the value of this setting to true so that you can resize all windows in Firefox including popups. The easiest way to do that is to simply double-click the entry. You can right-click the entry and select Toggle from the menu alternatively.

Update: Recent versions of the Firefox web browser allow the resizing of popup windows by default. The preference listed above is set to true in those browsers so that you don't need to modify it anymore.

Note that this affects only windows that are spawned using windows.open().

Summary
How to resize popups in Firefox
Article Name
How to resize popups in Firefox
Description
Try the following tweak if you cannot resize some popup windows in the Firefox web browser.
Author




  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. zzzZZZzzz said on February 5, 2008 at 11:49 am
      Reply

      Good tip! Thanks

    2. Rico said on February 5, 2008 at 4:18 pm
      Reply

      Darn those popups! That’s a simple fix to a problem I’ve had in the past. Thanks for this cure.

    3. Tysen Woodlock said on February 6, 2008 at 3:32 am
      Reply

      Good tip. Thanks.

    4. Dave said on February 11, 2008 at 5:53 pm
      Reply

      There is a firefox add-on which provides a GUI for this and related functions

      http://urchin.earth.li/~tomford/firefox/index.html

    5. Mary said on June 12, 2008 at 4:46 am
      Reply

      Thank you so much for this. The help system for the BB software I’m using has popup windows like this, and it’s been driving me crazy! This is really a lifesaver for me – thanks again.

    6. John Jones said on January 24, 2010 at 2:30 pm
      Reply

      I am try to set a popup windows for live chat that doest not allow the user to resize the windows in firefor the code I have not works perfect for Internet Explorer but not for firefox

    Leave a Reply