window location any web

Solutions on MaxInterview for window location any web by the best coders in the world

showing results for - "window location any web"
Lolita
31 Jun 2020
1var url = new URL("http://aaa.bbb.ccc.com/asdf/asdf/sadf.aspx?blah");
2console.log(url.protocol);  // "http:"
3console.log(url.hostname);  // "aaa.bbb.ccc.com"
4console.log(url.pathname);  // "/asdf/asdf/sadf.aspx"
5console.log(url.search);