javascript - How to determine the origin of 302 redirect using JS?
学习ing
学习ing 2017-06-30 09:59:57
0
2
1352

https://uri6.com/tkio/Q7R7r2a...

After this webpage jumps, how do you get this origin on the landing page? It is a 302 redirect jump, thank you

学习ing
学习ing

reply all(2)
滿天的星座

Get the HTTP header information referer. If possible, it is best to get it on the server side. If you use JS, you can give it a try

HTTP referrer (referer, or HTTP referer) is a field in the HTTP header, used to indicate where to link to the current web page, in the format of URL.

过去多啦不再A梦

document.referrer

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!