JavaScript Tutorial/Document/domain
Версия от 18:52, 25 мая 2010; (обсуждение)
document.domain
The domain property initially contains the hostname of the server from which the document was loaded.
<html>
<script>
<!--
document.write("The domain: ",document.domain);
-->
</script>
</html>