Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 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

`window.open()` not working as expected

  • 1 reply
  • 0 have this problem
  • 16 views
  • Last reply by Paul

more options

Hello i have a website uses window.open(), my problem is that window.open() is working differently for the mobile version of firefox.

in my case, window.open() is only returning null even when the pop up window is successfully opened.

it is said in the documentation that when window.open() returns null, that means the window is not successfully opened.

Hello i have a website uses window.open(), my problem is that window.open() is working differently for the mobile version of firefox. in my case, window.open() is only returning null even when the pop up window is successfully opened. it is said in the documentation that when window.open() returns null, that means the window is not successfully opened.
Attached screenshots

All Replies (1)

more options

Hi

This sounds more like a web development question. I recommend that you consult the experts at https://stackoverflow.com/.