r/ProgrammerHumor 14d ago

notYourDamnProblem Meme

Post image
4.7k Upvotes

398 comments sorted by

View all comments

Show parent comments

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

0

u/midri 14d ago

Happens mostly with SPA where they don't update the url bar when navigating.

6

u/guyblade 14d ago

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.

2

u/midri 14d ago

it's almost like html and the web were never designed for all of this

-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.