referrer Property This property returns a value only when the user reaches the current page through a link from the previous page. Otherwise, document.referrer returns an empty string; it also returns an empty string when the link is from a secure site.document.referrer仅当页面同过<a href="b.html>b</a>这种方式才返回,其它调用时都为空,我的页面的链接时写在flash中的,document.referrer为空。
document.referrer