|
|
|
HN Please Add Target Property to Links
|
|
3 points
by pszczurko
4280 days ago
|
|
Majority of sites that have links open them up in a new tab upon clicking. This behaviour would be great on HN (at least the main page) so that way I can click on a link, read it, and close it. This way I don't navigate away from HN, and don't have to worry about opening a link in a new tab myself. Here's the quick obvious template with addition of the target property:
<a href="http://www.link.com" target="_blank">
My amazing link title here
</a> |
|
I think it's typical for a middle-button click and/or control-left-click to open a link in a new tab. That's easy to do, and so we get to choose new tab or same tab ourselves, rather than having the website make the decision for us.
My habit with HN is to open a link by middle-clicking both the post link and the comments link. So I get both the post and its comments in side-by-side tabs. It's convenient for me, but people who just want to use a single tab can still do so.