我如何从history.go(-2)获取网址 [英] how can i get the url from history.go(-2)
问题描述
我有一个问题,可以从history.go(-2)获取url吗?假设我不知道该网址.
I have a question, is it possible to get the url from the history.go(-2)? Assuming i don't know that url.
修改
我需要URL,因为我想检查访问者的重定向来源.有两种情况:1个Facebook,2个直接在网站上.第二步是自动用户检查.第三步编码错误,但是如果我返回到步骤1,则可以绕过该错误.一切正常.问题是我不知道重定向到哪里(两个转发器).
I need the url, because I want to check where the visitor was redirected from. there are two cases: 1 facebook, 2 directly on the website. the second step is an automatic user check. the third step is miscoded, but if I go back to step 1. I can bypass the error. with everything working fine. the problem is that I don't know where to redirect (being two forwarders).
推荐答案
出于保护隐私的目的,并非出于设计目的.
It is not, by design, for privacy reasons.
这篇关于我如何从history.go(-2)获取网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!