Verifique si el cambio de URL JS
window.addEventListener('popstate', function (event) {
// The URL changed...
});
Anthony Smith
window.addEventListener('popstate', function (event) {
// The URL changed...
});