Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the given URL contains the same hostname.
Srch.U.isSameHost(url, hostname)
Return value
true if the URL has the same hostname; false otherwise.
Parameters
url
The URL to test.hostname
The hostname to compare with.