TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 sylvanhughes超过 6 年前
All the other platforms do it. Kind of makes me wonder if there&#x27;s a specific reason...<p>It gets especially annoying when I start browsing that link&#x27;s website, after a bit realize where I came from, and now that page is gone.

3 条评论

Tomte超过 6 年前
I don&#x27;t want that behaviour.<p>If you want it, cool, use middle button click or whatever works on your system. But don&#x27;t take my preferred behaviour away without any remedy.
Cederfjard超过 6 年前
Opening in the same tab is the default behaviour of links in most browsers. If you want to, you can probably configure yours to always open links in new tabs, or like Tomte said, middle click on them. I don&#x27;t like websites altering default behavior either, especially since it&#x27;s usually so easy to open in a new tab anyway when you want to.
LinuxBender超过 6 年前
You could email them and suggest it. Since they don&#x27;t specify a doctype in the page and browsers are using quirks mode, it should support a target [1] without issue.<p>[1] - <a href="https:&#x2F;&#x2F;html.com&#x2F;attributes&#x2F;a-target&#x2F;" rel="nofollow">https:&#x2F;&#x2F;html.com&#x2F;attributes&#x2F;a-target&#x2F;</a><p>Their email is:<p><pre><code> hn@ycombinator.com</code></pre>
评论 #18546163 未加载