Obtaining the URL of the Referring Document

By Chris Stimpert on Oct 6, 2006
Use this snippet to obtain the URL which referred the user to that page. Be aware that on some servers this may not work.

The JavaScript Source: Snippets : Obtaining the URL of the Referring Document

Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!