Search code examples
javascriptinternet-explorer-7safaritabs

Programmatically open new pages on Tabs


I'm trying to "force" Safari or IE7 to open a new page using a new tab.

Programmatically I mean something like:

window.open('page.html','newtaborsomething');

Solution

  • You can't directly control this, because it's an option controlled by Internet Explorer users.

    Opening pages using Window.open with a different window name will open in a new browser window like a popup, OR open in a new tab, if the user configured the browser to do so.