48

As a power web user, I know how to use my browser and it drives me nuts when web sites force me to open a new page. My mother, by contrast, just gets confused when this happens. At the end of a web session, she closes the current browser window and wonders where all these other browsers came from.

Some companies I've worked with have a policy that all external links must open in a new window, in some kind of misguided attempt to stop people leaving their site. Instead it just annoys or confuses people.

So is there ever a good, justifiable reason to open a new window?

Ola Ström
  • 249
  • 1
  • 2
  • 11
  • 3
    Usability guru Jacob Nielsen says that only applications should open in a new window. Examples of applications are PDF and Powerpoint (these can run in a browser). – JoJo Nov 10 '11 at 07:29
  • 1
    The answers on this page are out-of-date because they assume that the browser will open "_blank" links in a new window, whereas most modern browsers default to open in new tabs instead. I've added a new answer below that reflects this change in paradigm. – Graham Herrli Jan 05 '13 at 01:02
  • I regularly open content in a new window because I want to investigate multiple avenues when I'm researching / doing something. Arguably opening content in a new tab really reflects a failure in UX design in the browsers by not deferring to the host OS and the users preferences there. – James Snell Jan 06 '13 at 14:51
  • 1
    I disagree that they are out-of-date only because we now tend to have tabs vs. windows. There are differences, but also many similarities. – DA01 Jan 09 '13 at 01:40

23 Answers23

37

I really want to say "never!", but as with all things, there are exceptions. As mattlant mentioned it can be because there are items on the page that cannot be lost, help pages can be good for this, as the user may be half way through filling out a form when they click 'help' and are going to be pretty annoyed if they lose all their entries (although a lightbox-esq solution could work there too).

I think it should be avoided where possible, and certainly never used in a misguided attempt at increasing page impressions or time-on-site. It never works and as you said it just frustrates people.

Glenn Slaven
  • 471
  • 3
  • 4
  • So what you mean by that is, instead of using new windows or popups (which will invariably be blocked by some browsers) you should use a hover item, using one of the JavaScript libraries. So does that mean "never"? –  Sep 23 '08 at 02:04
  • 5
    No, I think you can use popups. Most browser's won't block popups that are initiated by the user. Having the help text in a separate window can be useful if they need to keep referring back to it, a lightbox would get annoying IMHO –  Sep 25 '08 at 03:09
  • 1
    Of course, even better is to save the information to localstorage for the browser as they fill out info so that it won't be lost to other problems. – Kzqai Mar 13 '12 at 18:37
18

I can't believe no-one's mentioned it, but PDFs and other non-web documents should be opened in a new window, mainly because users who do not understand windows/tabs/embedded plugins have a greater expectation of that behaviour than the 'replace web page with PDF' behaviour of 'same window' linking.

Bobby Jack
  • 1,667
  • 11
  • 12
  • 2
    Except sometimes the server doesn't use the "inline" attribute, and the browser downloads the file and leaves an empty tab. I don't mind a PDF opening in the same window. – Mark E. Haase Aug 20 '12 at 14:45
  • 1
    This makes sense if one can guarantee PDFs and non-web documents would even open in a browser window. Since that's dependent on the end-user's browser, plugins, and operating system, it's not a safe bet. It's better to notify the user that they are about to open a non-browser file type and let them decide what to do with it on their own. – DA01 Jan 09 '13 at 01:41
  • @DA01: Doesn't the default behaviour for new tab handle that correctly? Is it similar to the previous comment - i.e. empty tab gets left behind? – Bobby Jack Jan 09 '13 at 13:50
  • I don't know what has changed lately. I do know that what happens to a PDF is still a setting within the browser/OS not really something we can directly, consistently control from the web page. – DA01 Jan 09 '13 at 16:05
13

I do love how google reader opens all links in a new window. There are lots of reasons why Reader wouldn't work if it used the current window but besides that, it work great with Firefox cause it opens in a new tab rather than a new window. So it's a great experience overall and it just had to evolve that way. So never say 'never'.

9

We have an application that uses a third-party web reporting tool. Our value-add is basically navigation of reports and improved input screens for the report parameters themselves.

Once that's done, the report is opened in a new window so that NOTHING is different between the report from the standard tool and the report we generate.

Our customers actually like the fact that they can just kill off the report window and have the original window re-appear rather than having to use the browser back button.

Another example I've seen is help for a web-based application - the help screens come up in a separate window so that you can easily switch between the application and its help screens.

  • reporting, similar to my situation, you expanded on it nicely. :) –  Sep 23 '08 at 01:19
  • 1
    So surely you could show your customers how to open a new page themselves, if that's the behavior they want? –  Sep 23 '08 at 01:28
  • 3
    Because we actually polled our customers and the majority (that responded) preferred default behaviour to be "open new window". You might as well also suggest adding two links, current browser and new browser but I suspect that would cause more trouble with the customer base. –  Sep 23 '08 at 01:39
  • I understand where you're coming from - we'd probably leave default behaviour as-is but provide an option to change it for power users such as yourself - unfortunately, you're not our target market :-). –  Sep 23 '08 at 01:40
  • 2
    But by making the default to open a new window, you remove the option for the minority who don't want it to open in a new window. –  Sep 23 '08 at 01:40
  • Comment crossover - see my last comment. –  Sep 23 '08 at 01:43
  • 1
    If I gave my users an option to open a report in the same page as the web app, it would really mess things up and cause confusion. The app is a soft proofing system and the reports are optional reports on prss characteristics and what not. Its best in this case in a new window. –  Sep 23 '08 at 02:03
  • “We” You speak like Louis the Eleventh ! – Nicolas Barbulesco Apr 26 '14 at 18:41
  • 1
    @mattlant — “If I gave my users an option to open a report in the same page as the web app, it would really mess things up and cause confusion.” Even if you don’t give “your” users this option, they already have it. You can’t take this away. Better get used to it. – Nicolas Barbulesco Apr 26 '14 at 18:50
9

To summarize the many good responses.

  1. Opening a new window just because the link is outside the current site is never okay.
  2. A preview window or external reporting window might be useful in a new window, and will cause less confusion in some circumstances. Ideally this would be configurable to accomodate users who prefer not to open in a new window.
  3. In cases where a popup is used at the moment, for example to give help, modern JavaScript libraries can provide nice hover-over tooltip-style overlays that don't break the flow of the page and don't lose any in-progress edits, so can be considered to solve the same problem without a popup. Popups are blocked by many browsers.
  4. Modal overlays with DOM-manipulating JavaScript could solve many of the cases where a new window might be required, such as previews or external applications.
  5. Educate your users on the use of middle-click (open new tab) or right-click > open new window/tab functionality in their browser, so that they realise they can always open new windows or tabs if they prefer. Of course, this requires that your application doesn't break the standard linking model, which many badly-written JavaScript applications break.
  • 3
  • is pretty impossible, unless you have a very narrow set of users. It's probably the onus of browser creators to improve their UI in order to achieve this goal.
  • – Bobby Jack Oct 27 '08 at 14:06
  • 2
    Middle-click isn't exactly difficult! –  Feb 14 '09 at 03:24
  • 7
    "Educate" is the difficult part, not middle-click. –  Jun 11 '09 at 02:41
  • 1
    I upvoted your response for #1. – Elias Zamaria Sep 14 '09 at 23:19
  • 1
  • Hover isn't something that will be popular with touchscreen tablets, no matter how "nice" and "modern" the javascript (which is also blocked by many browsers)
  • – OJW Jan 03 '13 at 23:34
  • @OJW — Yes, this is a challenge. But on my iPad I have encountered Web pages which handle it nicely. I tap on the target, and the page brings the over-part — like when the mouse flies over the target. I tap again, and the over-part goes away. – Nicolas Barbulesco Apr 26 '14 at 19:07