Firefox open link in new tab

broken image
broken image

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 user's browser preferences.įor 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 Quentin's answer.Īs for Firefox (29) users, using window.open(url, '_blank') depends on their browser's 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). Window.open Cannot Reliably Open Popups in a New Tab in All Browsersĭifferent browsers implement the behavior of window.open in different ways, especially with regard to a user's browser preferences.