history.js
function(url) {
      if (!isSupportHistoryAPI && ('' + url).indexOf('#') === 0) {
        changeState(null, url, true);
      } else {
        windowLocation.replace(url);
      }
    }
function(url) {
      if (!isSupportHistoryAPI && ('' + url).indexOf('#') === 0) {
        changeState(null, url, true);
      } else {
        windowLocation.replace(url);
      }
    }
function ( url ) { if ( ! isSupportHistoryAPI && ( '' + url ) . indexOf ( '#' ) === 0 ) { changeState ( null , url , true ) ; } else { windowLocation . replace ( url ) ; } }
Removes the current page from
the session history and navigates
to the given page.

@namespace history.location
Removes the current page from the session history and navigates to the given page .