Anyone who has developed a website that uses AJAX for a large chunk of the site will know the fear of the user hitting the back button when they really shouldn’t be (damn crazy users, thinking they can just do stuff whenever they feel like it!)
Hopefully this small script that came from Martin Ivonov’s Blog will calm some of that fear.
I haven’t had chance to properly play with the code yet, but it looks very promising and could take away a lot of headaches in the future. When I do get time to have a proper play, I will post up the results.
