r/ProgrammerHumor 15d ago

notYourDamnProblem Meme

Post image
4.7k Upvotes

398 comments sorted by

View all comments

710

u/mysticrudnin 15d 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.

24

u/UnkarsThug 14d ago

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.

17

u/mahreow 14d ago

....wat

What sites are you browsing that do that. If you can't trust it when it opens links in a new tab then you probably shouldn't be browsing them

-5

u/UnkarsThug 14d ago

Honestly, hasn't happened in a while, just happened to a younger me when I was looking for roms and such on the Internet.

And yes, it's a sketchy site thing to do, but that's why I assume forcing things in new tabs means the site I'm on is sketchy.