HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

referrer

Description

The referrer of Document for JS returns the URL of the Document from which the user navigated to this one, unless it was blocked or there was no such document, in which case it returns the empty string.

The noreferrer link type can be used to block the referrer.

Syntax

document.referrer

Examples

1 · referrer

2 · noreferrer