HTML DOM referrer Property
Syntax - document.referrer;
Explanation - It Will Return the referrer of the current document
The referrer property returns the URL of the document that loaded the current document.
The referrer property is supported in all major browsers. Like Mozila, Opera, IE, Chrome,Safari..
Technical Details
| Return Value: | A string containing the URL of the document that loaded the current document. If the current document was not opened through a link (for example, through a bookmark), an empty string is returned. |
|---|