Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

history.go() doesn't work in mozilla

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by vesna1

more options

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.... :'(

All Replies (1)

more options

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