Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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