How to get HTTP-Referer via JS | Jquery?

Za Noza picture Za Noza · Nov 3, 2014 · Viewed 31.3k times · Source

Is it possible to get the http-referer of visitors via pure JS or with JQuery?

Answer

Scimonster picture Scimonster · Nov 3, 2014

Yes. Just use document.referrer.