TOC PREV NEXT INDEX

Put your logo here!


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

html


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX