This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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/.