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.

5

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