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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask YC: How do you deal with external urls?

5 点作者 nurall大约 17 年前
Yesterday our team had a lengthy discussion/debate on whether to let users navigate to new pages within an existing tab/window OR open new tabs/windows for external urls. We weren't able to come to a consensus. Hence this question!<p>The Social News feature we are building for the niche market contains external urls. And we also have other features in the pipeline, that may or may not have external urls. Hence the dilemma!<p>What do you guys think about this classic web usability problem?

9 条评论

alex_c大约 17 年前
In general, the safe choice is to open a link in the same window. I can use the middle mouse button to open the link in a new tab if I want, or I can just click on it, read the contents, and press Back. If you make the link always open in a new tab/window, my options are more limited, and I have to close the tab/window when I'm done, then hunt through my tabs to find your site again and continue reading.<p>I say "in general", because there might be specific use cases where a new tab/window makes more sense. Maybe you expect the user to want to keep both windows on the screen, or maybe you expect the user to spend a lot of time or drill down deep on the external page. It's hard to say without knowing more, but for a regular social news site, my personal preference is for same window.
评论 #183230 未加载
rms大约 17 年前
I'd say only do it if you are targeting an unsophisticated audience. Computer savvy users can handle their windows themselves, but a lot of people can't.
walesmd大约 17 年前
Never open a new window automatically - let the user middle-click.
评论 #183254 未加载
评论 #183321 未加载
JeffL大约 17 年前
I <i>hate</i> it when links force a new browser window or a new tab. Users are smart enough to hold down shift or control when they click to get a new window or tab, aren't they? Why not have an option people can choose to have external links open in a different window or tab?
missenlinx大约 17 年前
Never open windows in a new window. Users know how to click the back button if they want to come back to your site they will. I also believe its not part of WC3 validation.
gojomo大约 17 年前
A meta-suggestion: avoid lengthy discussions about such issues. Pick one option quickly, then run experiments to test whether the alternative improves your relevant metrics. Some issues are too small to invest time in trying to find 'consensus' without hard data.<p>On the issue directly: the web default is to open links in the same window. Opening new windows is in Jakob Nielsen's list of the top ten very worst web design mistakes†. (It's #9 as of his 2007 update.) So skip the discussion, go with that, and later run some tests comparing stay-in-page with open-new-window on whatever metric is important to you. (Page views? Non-annoyed users? Return visits? etc.)<p>† <a href="http://www.useit.com/alertbox/9605.html" rel="nofollow">http://www.useit.com/alertbox/9605.html</a>
评论 #183286 未加载
arey_abhishek大约 17 年前
You should open the urls in the same window. Because thats what most of your users will be expecting, considering most other sites do that. So by habit, they'll either use the middle click button or some other way to open it a new tab or window.
davidu大约 17 年前
Here's how we do it.<p><a href="http://domain.opendns.com/thejack.humboldt.edu" rel="nofollow">http://domain.opendns.com/thejack.humboldt.edu</a><p>With the icon... and some text.
xirium大约 17 年前
Don't override the default - even if it seems broken it may be required for compatibility. To paraphrase Tim Berners-Lee, fix your client, not the web.