
history.go() doesn't work in mozilla
history.go() doesn't work in mozilla, for instance : you are on page home.com, then you go to page home.com/x and then to home.com/x?x=0, after histoy.go(-2) you are going to home.com but if you click F5 you are going back one page?!?! It even works in IE.... :'(
history.go() doesn't work in mozilla, for instance : you are on page home.com, then you go to page home.com/x and then to home.com/x?x=0, after histoy.go(-2) you are going to home.com but if you click F5 you are going back one page?!?! It even works in IE.... :'(
Toate răspunsurile (1)
Event window.history.go() works on back button click(detecting with on 'popstate'),so when i change that and make some custom button on page with same event-it works! But still, it would be much better when it would be on real back btn...