Get the URLs origin including scheme, host, and possibly username, password and port if available. In contrast to the default URL.origin property, this method returns the origin for custom schemes, for example 'com.colibrio://'.
The URL to get the origin for.
Get the URLs origin including scheme, host, and possibly username, password and port if available. In contrast to the default URL.origin property, this method returns the origin for custom schemes, for example 'com.colibrio://'.