TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hacker News Should Implement Target=”_blank”

13 pointsby InfinityX0about 12 years ago

13 comments

janerikabout 12 years ago
Please don't. target="_blank" is just anoying on websites.<p>If I want to open that site in a tab I just use Ctrl+click or middle-click. That way I'm in control of where the link opens and not the site. Much better.
评论 #5241075 未加载
Zopieuxabout 12 years ago
Oh God, this goes exactly against what we've been trying to exterminate for the last 10 years.<p>target="_blank" is one of the worst thing of the old web. Frames may be the first in this ranking. Surprisingly enough, the two are related: the 'target' attribute primary goal is to manage frames.<p>As others said, as the whole web developer community says actually, one shouldn't use such thing that forces the users to open a new tab. You should give them the freedom of choosing whether they want to open this new tab, because it's very easy for them to do so: middle-clicking or ctrl-clicking.<p>Please do some basic web searching; you'll find pretty soon that people have been fighting against this attribute for too long to let a techy-oriented website like HN implement this.
leepowersabout 12 years ago
Bad idea. Reduces functionality. If I want to open a link in a new tab it's just a CMD+click operation. AFAIK there's no way to open a "_blank" link in the same tab/window. Instead of having two options for opening a link I'm reduced to one.
评论 #5240943 未加载
wamabout 12 years ago
"Well HackerNews, what say you? I dare you to increase your traffic and engagement."<p>HackerNews [sic], I dare you to allow your users to choose how they want to open new links, even if the mouse/keyboard mechanism for opening them in new tabs isn't completely 100% intuitive to some subset of web users.<p>I dare you to ignore any so-called "SEO" who thinks he's discovered an incredible "engagement" technique that's really just another tired way of tricking people into staying on your website.<p>I dare you to consult the relevant RFCs and acknowledge that the behavior of target="_blank" isn't news to anyone here.<p>I dare you to recognize that not every single thing on the internet has to "optimized" to get more traffic, and that "engagement" isn't just about people clicking on links.<p>I dare you to consider the possibility that we now have a situation where, thanks to the SEO frenzy of the past few years, there is no "correct" default behavior for links anymore, and it might be better to just let the user have control over it via their browser preferences.<p>I dare you to tell the world which way you prefer to open links and why it is better.<p>What say you? WHAT SAY YOU?
eeveeabout 12 years ago
&#62; But then I have to hit the Back button. Who hits the back button on the Internet anymore, especially techies like myself who live off of keyboard shortcuts? Why make me go from using my keyboard to using my mouse or trackpad just to go back? No one uses the Delete key to go back, let’s be honest.<p>I don't know what SEO-flavored koolaid you've been gargling, but FYI, the Back button is _still_ the most-used part of browser UI, beating out even _the address bar_: <a href="https://blog.mozilla.org/ux/2012/06/firefox-heatmap-study-2012-results-are-in/" rel="nofollow">https://blog.mozilla.org/ux/2012/06/firefox-heatmap-study-20...</a><p>I'd think "techies like yourself" would also know that there are also at least four ways to open any link you want in a new tab: ctrl-click, middle-click, context menu, or ctrl-enter while it has focus.<p>As for the Back button, I tend to have one hand on my mouse while browsing anyway (so I can, you know, click links), and I usually go back by clicking mouse4. That's the bottom of the pair of buttons on the left side of the mouse, where my thumb goes. The top one, mouse5, even goes forward. I think this is default behavior in every browser by now.<p>Opening in a new window by default is a crappy idea anyway, but it's particularly bad on a news aggregator site line HN, because I almost certainly want to read _more than one article_. Why would I click a link and alt-tab back ad nauseum, when I can just scan down the front page and middle-click anything that looks interesting, then browse through the collection of new tabs at my leisure?<p>The only remotely compelling excuse for this behavior is that users may not know how to open links in new tabs, but they absolutely understand Back, and one would assume HN has a reasonably technical audience anyway. So that just leaves us with: spawning new tabs forces me to look at the origin site at least once more so I can _close_ it. Well, fuck your cheap tricks and fuck your "engagement". I'll do my own window management, tyvm.
评论 #5242837 未加载
dionidiumabout 12 years ago
No, they absolutely should not. I can already control whether a link opens in a new tab/window. Please don't make a decision for me that is not the default.
Kiroabout 12 years ago
Very bad idea. Target="_blank" should never be used due to the simple fact that it modifies the expected behaviour.
评论 #5241088 未加载
danielsju6about 12 years ago
No, it shouldn't. Learn to use your command key; it'll make the web a whole new experience for you.
评论 #5241091 未加载
rartichokeabout 12 years ago
I normally only keep a few tabs open but HN is the only site where I middle mouse click everything.<p>Since the links time out so fast you're kind of forced to go a few pages deep in 1 shot while opening links that you want to read in a new tab then read them when you can.<p>There's some weird satisfaction of not middle clicking the last link you plan to read for now and depart from HN for that session.
kennuabout 12 years ago
At the risk of sounding unhackerish, I actually want the UI to do the right thing <i>by default</i>. So I support this. I thought differently 10 years ago ("let the user middle-click if they want"), but nowadays I believe in the 80% rule. Make it simple for the default use case.
评论 #5241653 未加载
评论 #5241078 未加载
mijnpcabout 12 years ago
Yes, please.<p>I hate to use keyboard shortcuts for opening links in new tabs. This SHOULD be a default feature on a site like HN.
paullthabout 12 years ago
nope.
评论 #5241093 未加载
nbertramabout 12 years ago
lol.