We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turbolinks.visit(window.location.href.substr(0, window.location.href.indexOf('#'))) or Turbolinks.visit(window.location.href.split('#')[0])
https://stackoverflow.com/questions/1397329/how-to-remove-the-hash-from-window-location-url-with-javascript-without-page-r https://www.sqlpac.com/en/documents/javascript-listing-active-event-listeners.html or history.replaceState(null, null, ' '); history.pushState(null, null, ' ') history.replaceState({}, document.title, "."); // replace / with . to keep url history.replaceState({}, document.title, location.href.substr(0, location.href.length-location.hash.length))
if(window.history.pushState) { window.history.pushState('', '/', window.location.pathname) } else { window.location.hash = ''; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Turbolinks.visit(window.location.href.substr(0, window.location.href.indexOf('#')))
or
Turbolinks.visit(window.location.href.split('#')[0])
https://stackoverflow.com/questions/1397329/how-to-remove-the-hash-from-window-location-url-with-javascript-without-page-r
https://www.sqlpac.com/en/documents/javascript-listing-active-event-listeners.html
or
history.replaceState(null, null, ' ');
history.pushState(null, null, ' ')
history.replaceState({}, document.title, "."); // replace / with . to keep url
history.replaceState({}, document.title, location.href.substr(0, location.href.length-location.hash.length))
if(window.history.pushState) {
window.history.pushState('', '/', window.location.pathname)
} else {
window.location.hash = '';
}
The text was updated successfully, but these errors were encountered: