How do some IG and websites block people from returning to the original webpage (i.e. you see an IG link or URL lnk on a page, click on it, but then can’t get back to the original page)?

66 viewsOtherTechnology

How do some IG and websites block people from returning to the original webpage (i.e. you see an IG link or URL lnk on a page, click on it, but then can’t get back to the original page)?

In: Technology

Anonymous 0 Comments

There’s some fancy stuff you can do these days as a web dev where you load new content into the page without actually changing pages. But then someone realized when you made a really rich webpage with all of these tricks, using the back button should intuitively move you around that site instead of yeeting you all the way back to before you were on that website.

So JavaScript code can actually inject things into the Back button queue to allow this to happen. This creates some really great rich webpages. But it *can* be used “maliciously” by a website, where a page puts *itself* as the next Back button entry. You hit back again and it just adds itself again, over and over and over.