1. Home
  2. Javascript
  3. Page domain

Gets domain name of the page.

#javascript#url
document.domain
copy
Full Javascript cheatsheet