【发布时间】:2011-05-01 19:52:18
【问题描述】:
可能重复:
IE has empty document.referrer after a location.replace
你好,
我在 IE 中使用 document.referrer 属性时遇到问题。当我不是通过链接而是通过 JavaScript 更改 window.location 到达页面时,目标页面的 document.referrer 在 IE7/8 中为空。关于如何绕过它的任何想法?
谢谢。
【问题讨论】:
标签: javascript internet-explorer cross-browser document