I\'m playing with window.onpopstate, and there is a thing that annoys me a little bit:
window.onpopstate
Browsers tend to handle the popstate event differe
I had a similar problem and i had to validate to make sure if page was loaded completely.
I used something like this :
var page_loaded = false; window.onpopstate = function(event){ if(!page_loaded){ page_loaded = true; return false; } //Continue With Your Code }