window.open(url, windowname, opts) opens in new tab instead of new window in Firefox

后端 未结 2 1976
一生所求
一生所求 2021-01-14 03:59

Seems that (try at jsfiddle)

window.open(\'http://www.google.com/\', window_name, \'width=400,height=320\');

completely stops opening new w

相关标签:
2条回答
  • 2021-01-14 04:15

    From Mozilla: https://developer.mozilla.org/en/DOM/window.open#section_31

    and here:

    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html

    0 讨论(0)
  • 2021-01-14 04:32

    Your fiddle does not contain the code that you posted. This one just works fine: http://jsfiddle.net/HLbLu/

    Note that for some reason calling window.open(...) is not the same as calling open(...).

    0 讨论(0)
提交回复
热议问题