eg_dac
eg_dac

Reputation: 701

why is window.open(url) opening new window instead of tab

I am calling window.open(url) and Normally that would just open a new tab. However, On this particular page i am developing, it's opening a while new small window.

i've also tried window.open(url, "_blank")

Does anyone know what would force the window to open a new window instead of a new tab.

thanks.

Upvotes: 1

Views: 433

Answers (1)

Howard Renollet
Howard Renollet

Reputation: 4739

The behavior is completely up to the browser and how it chooses to handle it. Most browsers open a new tab when _blank is used. There is nothing that can be done programmatically to control the behavior.

Upvotes: 2

Related Questions