This function will check to see if the passed in hostname parameter is just a host name on its own or if it has a full domain specified too. This functionality can probably be simulated outside of a proxy.pac file by testing for the existence of a full stop within the passed host name parameter.
This function returns true if the hostname parameter contains a plain host name with no domain specified. If the hostname parameter specifies a domain as well then this method returns false.
See also: | FindProxyForURL(), isInNet(), proxy.pac |
Prev | Home | Next |
isODigit() | Up | isPrint() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |