use pushState
:
window.history.pushState(data, title, url);
LE: since modern browsers changed behaviour, use replaceState
instead:
window.history.replaceState(data, title, url);
use pushState
:
window.history.pushState(data, title, url);
LE: since modern browsers changed behaviour, use replaceState
instead:
window.history.replaceState(data, title, url);