HTML DOM Document domain
The domain name of the server that loaded this document:
Definition and Usage
domain property returns the domain name of the server (the document was loaded from).
domain property returns
null if the document was created in memory.
|String||The domain name of the server (the document was loaded from).
document.domain is a DOM Level 2 (2001) feature.
It is fully supported in all browsers: