更改 Ajax POST 的引用者
任何人都知道如果使用 jquery 或通用 javascript,我可以从 http ajax 调用中的标头更改引荐来源吗?
Anyone knows if with jquery or general javascript, I can change the referrer from the header in an http ajax call?
基本上我希望它从我的页面发送,但有来自另一个页面的引荐来源.任何信息都会很棒.
basically I want it to be sent from my page but have a referrer from another page. Any information would be great.
推荐答案
浏览器总是会覆盖我所做的测试的引荐来源网址.这意味着您不能更改 ajax 调用的引用者.
The browser will overwrite the referrer always for the tests that I've done. Meaning you can't change the referrer of an ajax call.
相关文章