Welcome to WebmasterWorld Guest from 107.22.87.205

Forum Moderators: open

Message Too Old, No Replies

XMLHttpRequest Anonymous Flag not working

     
1:14 am on Jun 11, 2013 (gmt 0)

5+ Year Member Top Contributors Of The Month



On my website I am using XMLHttpRequest to open an XML file from another server:

var xml = new XMLHttpRequest();
xml.open("GET","http://www.otherserver.com/data.xml", false);
xml.send(null);
if(xml.status==200){
console.log(xml.responseXML);}

The above code works but I would love to be able to do the same thing but anonymously; without sending my website's url as the referer.

On [w3.org...] it states that I can use the anon:true flag which would make my request anonymous by sending "about:blank" as the referer, but I haven't had any luck. In both examples the referer data is sending just like it did above:

var xml = new XMLHttpRequest({anon:true});
...

var xml = new XMLHttpRequest({anonymous:true});
...

Am I using this flag incorrectly or is this flat ust poorly supported?

If I am using it correctly are there any any other ways to fetch data from another server anonymously?
7:29 pm on Jun 11, 2013 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



There are several sites out there through which you can hide the referrer, simply by processing the request through an referrer anonymizer.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month