Javascript 从 jquery 获取 http referrer 的正确方法
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3148177/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-23 03:27:24 来源:igfitidea点击:
The right way to get http referrer from jquery
提问by vernomcrp
Command $(document).referrer is the correct way to get referrer with Jquery?
命令 $(document).referrer 是使用 Jquery 获取引用的正确方法吗?
回答by Matthew Flaschen
How about just:
怎么样只是:
document.referrer

