function unspyNavigationStates(router, _push, _replace) {
    if (_push) {
      router.viewer.history.pushState = _push;
      router.viewer.history.replaceState = _replace;
    }