tarunkhanna has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am developing a javascript. Say, my javascript is in abc.html

Now, I want a function in this javascript that it will open on client side(This gmail page may be hidden) and fetch the email-id with which gmail is logged in and return me the email-id on server whosoever opens my abc.html page.

If gmail not logged in on client side, send nobody to server.