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