I understand relying on Referer in the request header is not right. But my question is, why IE does not set Referer to the Request Header if I use window.location
window.location
Yeap, yours works as well, but ended up doing:
Link 1