Posts Tagged ‘referrer’

15 04 2009

根据来源链接重定向

bigCat Posted in JavaScript - 0 Comment

function anchor() {\n var url = document.referrer;\n if (/login\.htm/.test(url)) {\n location.href="#anchor";\n }\n }

15 04 2009

js获取来源链接

bigCat Posted in JavaScript - 0 Comment

document.referrer\n无则为空

Host: (miao) | Word: Press | Code: HTML5