This gives you the exact url the user is on:
document.location.href
There is no way of determining what the user typed before the request is submitted (for security-reasons).
This gives you the exact url the user is on:
document.location.href
There is no way of determining what the user typed before the request is submitted (for security-reasons).