搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

history.go() doesn't work in mozilla

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.... :'(

所有回复 (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...