Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Firefox 73.0: javascript function window.open()

  • 3 valiny
  • 1 manana an'ity olana ity
  • 50 views
  • Valiny farany nomen'i Pastis

more options

Height and width does not work as before. Open smaller window...

Example:

function PopUpWin(source,name,width,height) {

 window.open(source, name,"location=0,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width="+width+",height="+height+"");

}

Height and width does not work as before. Open smaller window... Example: function PopUpWin(source,name,width,height) { window.open(source, name,"location=0,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width="+width+",height="+height+""); }

Vahaolana nofidina

I disable the plugin (had 90% zoom as default) and set the new Default Zoom setting to 90% in the Options/Preferences page and it solved my problems! Thank you!

Hamaky an'ity valiny ity @ sehatra 👍 0

All Replies (3)

more options

The problem is the plugin "Default zoom" for Firefox...

more options

Hi Pastis, the height and width set in window.open() are adjusted according to your global zoom level. Firefox 73 introduced a Default Zoom setting on the Options/Preferences page, which could involve internal code changes that affect this issue.

Do you recall any changes that you or an add-on might have made to the Default Zoom setting?

For experimenting:

I have a test page that generates a nominal 800x600 popup window (third link):

https://www.jeffersonscher.com/res/popit.html

What Firefox considers Default Zoom of 100% actually shows me the Windows default of 125%, so the popup window is enlarged proportionately. If I set the Default Zoom in Firefox to 80% to cancel out the Windows default of 125%, then the popup is sized as requested, plus borders and toolbars.

more options

Vahaolana Nofidina

I disable the plugin (had 90% zoom as default) and set the new Default Zoom setting to 90% in the Options/Preferences page and it solved my problems! Thank you!