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.

Ask HN: Why doesn't Hacker News open links in a new tab?

15 pointsby sboumaover 4 years ago
Just wondering why it doesn't open links in new tabs like most other news aggregators. The effect is I end up having to re-open Hacker News a lot because I close my tab rather than hitting the back button. Minor issue, but it happens often enough to make me wonder why they keep it like this.

15 comments

mcvover 4 years ago
I like that it doesn't automatically open in a new tab. That means I have control over whether I want it to open in a new tab. It puts users in control, and that's good.
评论 #24865364 未加载
marssaxmanover 4 years ago
But it does open links in a new tab, most of the time - because I choose to use my browser's "open in new tab" feature when I click on its links. I appreciate the fact that Hacker News lets me do what I want, instead of trying to override my preferences with some excessively clever bit of scripting.
评论 #24864308 未加载
mtmailover 4 years ago
My take: Other news aggregators want more pageviews, higher time-spend-on-site metrics, more advertising revenue, year-on-year growth. To my knowledge HN doesn't have any of those aspirations.
ddevaultover 4 years ago
target=&quot;_blank&quot; is an anti-user design choice.<p>If a link does not set target=&quot;_blank&quot;, you can always choose how it will be opened: in this tab, or in a new one, with a left or middle click.<p>If it has target=&quot;_blank&quot;, it&#x27;ll always open in a new tab, even if you don&#x27;t want it to, and there&#x27;s no visual indicator that this parameter has been set.<p>I never set target=&quot;_blank&quot; as a general rule for this reason.
评论 #24865300 未加载
评论 #24863349 未加载
评论 #24863917 未加载
评论 #24865779 未加载
simonblackover 4 years ago
Middle-Click...Middle-Click...Middle-Click...Middle-Click...Middle-Click<p>That&#x27;s the wheel, for you guys coming from a two-button-mouse Operating System.
评论 #24864892 未加载
评论 #24863974 未加载
paperpunkover 4 years ago
We had a spirited debate about this in our application at work recently. Some devs feel (strongly) that having no option to open links on the same page is a user-hostile choice. Other devs feels (also strongly) that users most likely want to open a link in a new tab so that’s what should happen.<p>We never reached an agreement but someone did make a claim, that I was unable to verify, that modern users don’t use the back button and therefore relying on it to allow users to find their way back is unacceptable. I wonder if anyone else has heard that (I suspect the HN crowd knows about the back button though ;))
评论 #24864273 未加载
评论 #24866814 未加载
评论 #24864005 未加载
notRobotover 4 years ago
Use <i>Ctrl+click</i> or <i>Right-click &gt; Open in new tab</i>? It&#x27;s not complicated.
评论 #24863273 未加载
disownover 4 years ago
I like it because it reinforces the need to Ctrl-click links. I never click links, I always ctrl-click it after hovering over a link to check the url first.<p>Also, CTRL and left arrow will return you back to the HN. It&#x27;s not that big of a deal? Also, it&#x27;s a good thing as it teaches you some good habits. Why depend on a site to open links in new tabs? Do it yourself. That way you force consistent behavior across all websites&#x2F;links.
c22over 4 years ago
I like that it doesn&#x27;t open new tabs. I will usually look at the main page and open a few links or conversations in new tabs, but for most links I just dip in and out of the comments with my forward and back keys since I&#x27;m mostly trying to just figure out if the entry is worth my time. If it looks like I&#x27;m going to engage with it more I&#x27;ll give it it&#x27;s own tab.<p>Why do you want to remove my choice in the matter?
bluejellybeanover 4 years ago
I use middle mouse click, thumb mouse click, control click, and right mouse click + left click on &quot;open in new tab&quot;.<p>Each method is dependent upon various things including, how I&#x27;m sitting, number of items I plan to open, number of comment sections vs just article link, and most importantly, how sore my hands are. Some methods are faster but strain my wrist more than I care to do, so I do those sparingly.<p>One of the reasons I love this site is the UI, it&#x27;s very simple and gets out of the way for you. If you want to change the opening mechanism to only do new tabs, you are completely able to do so with code.<p>To answer your question, there are a variety of reasons why HN may choose to do it this way, other sites have different reasons so you see different site behavior.
0-_-0over 4 years ago
In Firefox you can use middle mouse click or Ctrl+click to open a link in new tab
md81544over 4 years ago
I&#x27;d like to see this as a setting, so both camps can be appeased. I&#x27;m like OP, I keep forgetting to manually open in a new tab, then wonder where HN has gone after I close the tab again.
DoreenMicheleover 4 years ago
We&#x27;re all curmudgeons and a lot of us like it like this.
quintesover 4 years ago
I like to choose. Since I browse on my phone mostly I use the preview to see if I even want to Open the link, then go to new tab. So then I guess it does
mig4ngover 4 years ago
I do not know why, but I prefer it to be like this.<p>However, if it helps:<p>- Control + Click OR Mouse middle-click