Linux Mac OSX Windows

  
[scriptable, uuid(a6cf906d-15b3-11d2-932e-00805f8add32)]
interface nsIDOMLocation : nsISupports

Attributes

 These properties refer to the current location of the document.
 This will correspond to the URI shown in the location bar, which
 can be different from the documentURI of the document.
attribute DOMString hash

        
attribute DOMString host

        
attribute DOMString hostname

        
attribute DOMString href

        
attribute DOMString pathname

        
attribute DOMString port

        
attribute DOMString protocol

        
attribute DOMString search

Methods


        
void assign(in DOMString url)

        
[noscript] void reload(in boolean forceget)

        
void replace(in DOMString url)

        
DOMString toString()