We want to help developers like you. Tell us about how you work: http://qsurvey.mozilla.com/s3/Developer-Audience-Survey-V2/?s=mdn

The URL read-only property of the Document interface returns the document location as a string.

Syntax

var string = document.URL 

Specification

Document Tags and Contributors

 Last updated by: teoli,