referrer property (document, XMLDocument)
Retrieves the URL of the document that loaded the current page.
This property returns information about the location where the user has navigated from to the current page.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that retrieves the location of the document that has linked to the current page. If the current document was not opened through a link, the referrer property returns an empty string.
Default: this property has no default value.
User Contributed Comments