Работа на ajax-страницах с History API. И застрял в точке, где Firefox не запускает событие «popstate»:
Вот поток посещений (URL):
1. Started from Home Page (/)
2. Visited About Us (/about-us)
3. Clicked Back Button to go on Home Page (/)
4. Refreshed the page using F5
5. Clicked Forward button to go on (/about-us) # Here firefox not firing "popstate" but Chrome is
Сценарий:
$(window).on("popstate", function (e) {
var data = window.history.state;
console.log("State Data:");
console.log(data);
popped_first = true;
...
});