Script windows location. Window.location. window location redirect js. window.location.pathname. location js.