Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

XMLHttpRequest Anonymous Flag not working

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

Full Member

5+ Year Member Top Contributors Of The Month

joined:Sept 30, 2009
votes: 1

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);

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 June 11, 2013 (gmt 0)

Senior Member

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

joined:Mar 15, 2002
votes: 0

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