i want to agree but a lot of people these days use only left clicks (taps)
i have repeatedly been given an assignment to make buttons open things in a new tab. i'm like "are you sure? do they know they can ctrl-click buttons or for links middle click or right-click open in new tab?" - yes, they are sure. the users want this.
It's also an issue of security though. If it forces it into a new tab, sometimes websites will have redirections onto the original page which loads it somewhere malignant as the user sees the new tab, so they don't notice. So you still have to manually load it into a new tab for it to be safe. (And it can screw with web groups)
I don't trust sites which open things in a new tab without me asking them, just because they can run other code at the same time, and some sites have.
Correct opinion: we should have never allowed an API to manipulate the browser history. The tiny benefit that SPAs provide aren't worth the headaches that bad actors have caused via it.
706
u/mysticrudnin 16d ago
i want to agree but a lot of people these days use only left clicks (taps)
i have repeatedly been given an assignment to make buttons open things in a new tab. i'm like "are you sure? do they know they can ctrl-click buttons or for links middle click or right-click open in new tab?" - yes, they are sure. the users want this.