pub fn replace_state(state: &[u8], title: &str, url: &str)
Replace the current history entry (no new entry is pushed). Analogous to history.replaceState().
history.replaceState()