1. Home
  2. Javascript
  3. Page domain
#javascript#url

Gets domain name of the page.

document.domain
copy
Full Javascript cheatsheet
Sitemap Git repository