I am working on a script that I will most likely be using for all my future websites that prevents the page from refreshing/redirecting when navigating through it. It does this by Manipulating the browser history (unlike hashing, which is kind of a hack to do the same thing).
When a user follows a dead link, there will be a 404 page shown. The problem that I'm facing is that I can't decide whether or not I should keep it in the history that I'm creating. I have total control over the history, and it would seem like a good idea at first. However, I think people might get confused.
What do you think? Should I keep it?