support disabling pushState