Open a URL in a new tab (and not a new window) | js new page
Differentbrowsersimplementthebehaviorofwindow.openindifferentways,especiallywithregardtoausersbrowserpreferences.Youcannotexpectthesamebehaviorforwindow.opentobetrueacrossallofInternetExplorer,Firefox,andChrome,becauseofthedifferentwaysinwhichtheyhandleausersbrowserpreferences.Forexample,Internet Explorer(11)userscanchoosetoopenpopupsinanewwindoworanewtab,youcannotforceInternet Explorer 11userstoopenpopupsinacertainwaythroughwindow.open,asalludedtoinQuentinsanswer[1].AsforFirefox(29)users,us...
Different browsers implement the behavior of window.open in different ways, especially with regard to a users browser preferences. You cannot expect the same behavior for window.open to be true across all of Internet Explorer, Firefox, and Chrome, because of the different ways in which they handle a users browser preferences.
For example, Internet Explorer (11) users can choose to open popups in a new window or a new tab, you cannot force Internet Explorer 11 users to open popups in a certain way through window.open, as alluded to in Quentins answer[1].
As for Firefox (29) users, using window.open(url, _blank) depends on their browsers tab preferences, though you can still force them to open popups in a new window by specifying a width and height (see "What About Chrome?" section below).
Go to your browsers settings and configure it to open popups in a new window.
Internet Explorer (11) Test PageAfter setting up Internet Expl...