Javascript Reference
Categories: location

javascript location hostname

@July 13, 2008, 3:29 a.m.
hostname Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  
  Read/Write  

Provides the combination of the hostname of the server (i.e., a two-dot address consisting of server name and domain) that serves up the current document. The hostname property does not include the port number.

 
Example
 
if (location.hostname == "javascript.gakaa.com") {
  ...
}
 
Value

String of hostname (server and domain).

 
Default

Depends on server.

atorvastatin buy online <a href="https://lipiws.top/">buy atorvastatin for sale</a> buy lipitor 10mg sale
Zntzll - 1 months

Powered by Linode.