TOC PREV NEXT INDEX

domref



referrer


Returns the URI of the page that linked to this page.

Syntax

referring_page = document.referrer
 

Parameters

referring_page is a string containing the URI of the referring page.

Example

None.
 

Notes

The value is an empty string if the user navigated to the page directly (not through a link, but, for example, via a bookmark).

Note that since this property returns only a string it does not give you DOM access to the referring page.

Specification

referrer
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX