Remove `onpopstate` check.