What rules apply when IE9 decides how to open popups?

4

2

I found that when the default popup option: let internet explorer decide how pop-ups should open is checked, IE9 opens some popups in new tab and others in a new Window... Sounds coherent to the option... But the question is, how does IE decide?

I have two links:

<a href="http://www.google.com" target="_blank">Link to google</a>

<a href="/somewhereOnMySite/test.html" target="_blank">Link to some other page</a>

The first one (Google) will open in a new Window, whereas the second one opens on a new tab...

I thought I should look for these rules, it just seems that pages on the same site get a tab and external links get a new window... Is there any documentation that can confirm this or have some more elaborate description?

Regards

Martin

Posted 2014-02-07T15:34:29.823

Reputation: 341

What happens with JavaScript window.open(...)? The same external/relative difference? – MrWhite – 2014-02-07T15:39:41.717

Don't think that Javascript is affected by that, just the <a> links... It's not that I want to change some behaviour, in fact we need the <a> notation because of popup blockers in the company, but I hate it when I get asked about what a feature does and I cannot have a precise answer... – Martin – 2014-02-07T15:45:24.457

Answers

1

Three Microsoft articles may apply here :

Your Tab Settings

Basically what this will do is open any pop-up without size or other restrictions in a new tab, the rest will open in a new window. For users experienced with tabbed browsing this is typically the best option, as it allows most windows to open in tabs, but allows pop-up style windows to open in a new window.

Tabbed browsing in Internet Explorer 8: frequently asked questions

If you opt to let Internet Explorer decide how to display pop-ups, it will display the pop-up in a new window if the pop-up specifies size or display requirements. Otherwise, the pop-up is displayed in a new tab.

Open OWA messages in a new tab instead of a pop-up window

The reason that it opens in a new window instead of a new tab is because the pop-up link holds window size information and disables certain browser interface elements such as menus, back/forward buttons, etc… While this does give it a more “application” look and feel, it indeed makes it harder to group all your OWA activity together.

The answer is probably that the Google page has some restrictions on its display that cause IE9 to consider it as an "application" and to open it in a new window. As the Google page contains lots of CSS and JavaScript, one can understand IE9 making that error, especially since IE9 does not support the latest CSS standards.

Google, on the other hand, dropped support for IE9 on 2013, so does not make today any effort to make its pages understandable by IE9. Officially, Google now only supports IE11.

harrymc

Posted 2014-02-07T15:34:29.823

Reputation: 306 093

I'm not sure those last comments are accurate. AFAIK, IE makes a decision on how to open the popup before attempting to open the target address, so what Google includes in its page is irrelevant. FWIW, I added the two links from the OP to a page just now and verified both open as tabs in IE11. I don't have IE9 to test with (I think we're perhaps past caring about IE9 at this point!). Been digging into this today and the above answer was certainly otherwise helpful

– John Rix – 2017-01-05T16:19:04.090