The URL.origin read-only property returns a USVString containing the Unicode serialization of the origin of the represented URL, that is:
The url read-only property of the Response interface contains the URL of the response.
URL
The URL interface represent an object providing static methods used for creating object URLs.
The HTMLHyperlinkElementUtils.hash property returns a DOMString containing a '#' followed by the fragment identifier of the URL. The fragment is not percent-decoded.
The HTMLHyperlinkElementUtils.host property is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':', and the port of the URL.
The HTMLHyperlinkElementUtils.hostname property is a USVString containing the domain of the URL.
The HTMLHyperlinkElementUtils.pathname property is a USVString containing an initial '/' followed by the path of the URL.
The HTMLHyperlinkElementUtils.port property is a USVString containing the port number of the URL.
The HTMLHyperlinkElementUtils.protocol property is a USVString representing the protocol scheme of the URL, including the final ':'.
The HTMLHyperlinkElementUtils.search property, is a search string, also called a query string, that is USVString containing a '?' followed by the parameters of the URL.
The HTMLHyperlinkElementUtils.username property is a USVString containing the username specified before the domain name.
The url read-only property of the Request interface contains the URL of the request.
The URLSearchParams interface defines utility methods to work with the query string of a URL.