javascript获取来源URL

var where = document.referrer;

注意:必须在容器(IIS或apache或Tomcat等)下运行

原文地址:https://www.cnblogs.com/walkerwang/p/1754922.html