Detect history.pushState
Revert "Detect history.pushState"

This reverts commit 82aad8c4f9f621346033c405c2c5cd6b4311d8cf.