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

后端 未结 2 1978
一生所求
一生所求 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: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(...).

提交回复
热议问题