|
|
| | Is _blank (HTML) basically an un-necessary popup? | |
5 points by msacks on Aug 14, 2011 | hide | past | favorite | 5 comments
|
| | <p>I've been writing a lot of blog articles lately and I usually add _blank for referenced links in my articles as to not lose my readers to another site, but then I thought, thats kind of unnecessary and here's why:<p>Whenever I am browsing an article and I open a new link, I always CMD click as to open the new link in a new browser tab anyway, so it's kind of redundant to put in _blank. Am I really retaining readers by adding _blank? Would appreciate your thoughts. |
|
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
I think the rule of "least surprise" applies; the least surprising thing for a link to do is to not specify a target at all, leaving the behavior up to the browser (where the browser in turn bows to user preferences and user overrides such as contextual menus). For example, on my iPad I already configure my browser so that different-domain links open in new tabs but same-domain links do not, and I set preferences for a reason: because it's my preferred behavior. These are things the web site couldn't possibly know about me, so the web site basically risks annoying me if they try to override my expectations.
If a web site must feel the need to fiddle with "target" (which I personally think they should not), I think the bare minimum they should do is include an icon or some hint next to non-standard links to indicate what will happen when the links are used. This is another thing that browsers could theoretically do by themselves, since they have all the information about link targets at rendering time.