搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

`window.open()` not working as expected

  • 1 回覆
  • 0 有這個問題
  • 16 次檢視
  • 最近回覆由 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.
附加的畫面擷圖

所有回覆 (1)

more options

Hi

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