I wanted to know if anyone has had experience with trying to remove the ‘X-Requested-With’ header from the ajax request made by jquery (or plain JS). is it possible?
2nd part: do you know if Grease Monkey’s ajax requests set this header?
Thanks
header looks like this:
X-Requested-With XMLHttpRequest
No, Greasemonkey’s
GM_xmlhttpRequest()does not set this header (although you can certainly add it).The default request issued by
GM_xmlhttpRequest()looks just like a normal browser request.For example:
Looks like this to my packet sniffer: