trace window.location and window.navigator