How to get HTTP-Referer via JS | Jquery?

2019-04-19 05:11发布

问题:

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

回答1:

Yes. Just use document.referrer.