Is it possible to get the http-referer
of visitors via pure JS or with JQuery?
How to get HTTP-Referer via JS | Jquery?
Asked Answered
Yes. Just use document.referrer
.
A direct link doesn't have a referer anyways. –
Shrive
you are faster, damn :D –
Halfblood
@Shrive Not true about "direct link doesn't have referer". New Rules here tools.ietf.org/html/rfc7231#section-5.5.2 Must be
about:blank
–
Hydroxyl © 2022 - 2024 — McMap. All rights reserved.
document.referrer
... – Hoff