how gmail hide http referrer?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
anyone know how gmail hide http referrer when a link in email is

If you would like to try:
send to your gmail address in body text, this URL:

Open your gmail account and try to click it.

will you find HTTP_REFERER field empty.

How is it possible?

Is it possible in php?

Re: how gmail hide http referrer?

Quoted text here. Click to load it

<META HTTP-EQUIV="refresh" content="0; url= /">

Re: how gmail hide http referrer?

*** nokiamobile escribió/wrote (Fri, 28 Mar 2008 07:12:51 -0700 (PDT)):
Quoted text here. Click to load it
Quoted text here. Click to load it

The referrer information is sent automatically by the browser and as far as I
know nothing you can do in a server-side language like PHP can change that.

As about Google, it seems  the JavaScript code they use to open links has the
side effect (on purpose or not, who knows) of making browser believe that it's
not appropriate to send the referrer header.

A very quick look at the code shows that they create a document in a new Window
and insert a META tag in it to force redirection:

OpenExtLink = function(a,b,c){
        var d=BR(c.href);
            return false
            return false
                    return true
            var e=Wb(a,"");
            e.document.write('<META HTTP-EQUIV="refresh" content="0; url='+B8(d)+'">');
            return false

But of course, now it's off-topic :)

-- - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:
-- Mi web de humor en cubitos:

Site Timeline