JavaScript open in a new window, not tab

前端 未结 15 1330
余生分开走
余生分开走 2020-11-21 22:18

I have a select box that calls window.open(url) when an item is selected. Firefox will open the page in a new tab by default. However, I would like the page t

15条回答
  •  执笔经年
    2020-11-21 22:55

    I think its not html target properties problem but you unchecked "open nw windows in a new tab instead" option in "tab" tab under firefox "options" menu. check it and try again.

    enter image description here

提交回复
热议问题