logoalt Hacker News

mindtrickstoday at 3:20 PM4 repliesview on HN

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?


Replies

hallway_monitortoday at 5:45 PM

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.

zenopraxtoday at 4:42 PM

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.

show 1 reply
Shanktoday at 4:11 PM

You can set a user preference to open in a new tab. The reverse is not true.

show 1 reply
rovr138today at 4:16 PM

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.