Force window.open() to create new tab in chrome

后端 未结 5 1860
轻奢々
轻奢々 2020-11-30 03:32

I use window.open to populate a new window with varying content. Mostly reports and stored HTML from automated processes.

I have noticed some very inconsistent beha

5条回答
  •  孤街浪徒
    2020-11-30 03:59

    Is very easy, in order to force Chrome to open in a new tab, use the onmouseup event

    onmouseup="switchMenu(event);"

提交回复
热议问题