crossplatform window.URL