document.referrer

document.referrer可以获取跳转到当前页面的连接的地址

原文地址:https://www.cnblogs.com/wangjixianyun/p/2933180.html