Hacker News new | ask | show | jobs
by mindtricks 45 days ago
So many comments debating the philosophy around this. I like it when these type of sites open a new tab for me. Is there a way to just code in a toggle between the two link opening types?
5 comments

This is the type of thing I have to fight against daily. You already have both action available - left click or middle click. Don't bloat your software with band aids for problems that don't exist - just train your users better.
Middle-click a link to open a new tab. I can't force a link to open in the same window but I can with new tabs.

Sometimes it's easier to follow a link, have a look, and then go back without jumping around tabs.

If only mouse manufacturers would use middle click buttons that are designed for more than occasional use.
wow, always right clicked then clicked open in new tab. Middle click now saves me one click - thanks!
I always bind a side button on my gaming mice to ctrl+click so that my thumb can open links in a new tab. Slight ergonomic improvement for me.
ctrl+click works too!
I like that in Kagi I can set this as an option.

Default, on the same tab (since browsers have options around this), but allow users to select if they want it on a new tab/window.

You can set a user preference to open in a new tab. The reverse is not true.
I don't think most browsers have such an option, doubly so on mobile. They just assume the user will open the link in the way they'd like.
The reason it’s a debate is because both interfaces / flows are broken.

Back/forth, new tab, currently open tab switch, bookmark, needs to be redesigned from first principal. They all approximate different versions of similar intents.