Muhammad Imran Tariq Muhammad Imran Tariq - 1 year ago 201
HTML Question

javascript window.location in new tab

I am diverting user to some url through

but this url opens in the same tab in browser. I want it to be open in new tab. Can I do so with window.location? Is there another way to do this action?

Answer Source

I don't think there's a way to do this, unless you're writing a browser extension. You could try using and hoping that the user has their browser set to open new windows in new tabs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download