Whenever a link on your website opens in a new window a panda cries

You’ve got a great website. It’s amazing. It’s so good no-one will want to leave it. Ever. Here’s what you’re thinking:

OMG wow. Our website is amazing. It’s so good no-one will want to leave it. Ever. Let’s help users enjoy our website forever by making all external links open in new windows so then they close the other websites our site will still be open. Our users will thank us until the end of time for making it easier to stay on our site, and anyway Marketing said we had to do it and they know the internet better than anyone!

Sad Panda

Oh dear. Most people don’t know this, but making external website links open in a new window makes pandas sad. Look, here’s a sad panda made sad because it used a website that opened external links in new windows.

Sad panda

Doesn't this panda look sad?

You did that, with your new window link opening. (Panda by sholt).

Why Pandas cry

You need to consider that your website is going to be just one part of a users browsing session. The user will probably already have open tabs in their current browser window and the tab they have your website in will probably have history before your site. When you force a new window to open for a user you are interrupting their browsing flow. When this happens the user has a jarring user experience because of your website. Well done your website.

There are already controls in browsers to let users open links in new windows or tabs, in Safari they are the the first two options in the right-click context menu, or a Cmd+click:

Browser controls already exist giving the user control over where links open

When you force the user to open links from your website in a new window you are taking away control the user already has.

It’s a PITA and I have to work around it

Here’s what I personally do when your website opens a link in a new window:

  1. Your website forces new window to open when I click on a link.
  2. New window opens, I close it immediately.
  3. On your website again I Cmd+click the link or right click and select ‘open in new tab’.
  4. I close the tab your website was in and re-position the new tab with the new website in where the tab for your website used to be.
  5. I mentally remove one karma point from your website in my internal website excellence tracker.

Look at the amount of messing around your website made me do. And now, because of this messing around, your website is no-longer accessible via my browser back button. You’ve succeeded in making your website even less accessible, the exact opposite of that you were trying to achieve.

Luckily I’m mentally tough much like Chuck Norris and so can take this two, maybe three times before cracking, but Pandas aren’t as tough as me. If this happened to a panda the panda would just cry. Sad.

One thought on “Whenever a link on your website opens in a new window a panda cries

  1. Tony says:

    I salute you, sir! (Although, I must confess to be slightly disappointed that you didn’t slap a sneaky target=”_blank” on one of the links in this post.)

    I know it’s not the point, but it’s worth noting that Safari users can have such links open in new tabs automatically by using the hidden preference:

    defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

    Just run it when Safari isn’t running.

    To remove:

    defaults delete com.apple.Safari TargetedClicksCreateTabs

    I’m sure other browsers have their equivalents.

    A new panda is born every time you stop such lame tactics.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s