document domain Property Syntax:
document domain Property Parameters
The property is read-only and so it doesn’t take any argument.
document domain Property Return Value
The return value of this method is the domain name of the server that the currently loaded document is taken from.
Note: if the domain cannot be identified, then the return value of the method becomes null.