Window.location.pathname Javascript