WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
Location
This object is available to unprivileged JavaScript. It implements the following interfaces:
Properties
String hash
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.
String host
String hostname
String href
String pathname
String port
String protocol
String search
Methods
void assign ( String url )
void reload ( boolean forceget )
void replace ( String url )
String toString ( )
Reference documentation is generated from Mozilla's source.
