On Aug 26, 3:58 pm, Anthony Lieuallen <[EMAIL PROTECTED]> wrote:
> On 8/26/2008 2:08 PM, Shreevatsa wrote:
>
> > Has someone reverse-engineered how Gmail works, or knows how one can
> > find out?
>
> GMail is amazingly complicated.  The best you'll get is:
>
> http://code.google.com/p/gmail-greasemonkey/wiki/GmailGreasemonkey10API

Well ok, that was a stupid question I asked. I agree that Gmail is
amazingly complicated, but that "API" is rather limited.

Let me instead request help with what I want to do, and hope that
someone might help:
I want to get the Message-ID headers of emails in Gmail.
Now, one way of doing that would be to click on "Show Original" (in
the menu next to "Reply"). This is a div node that has class="SAQJzb"
and act="32", so it is pretty easy get to the node, but
* is there a way of finding out what event listeners are attached to
it (not necessarily through Greasemonkey: using Firebug, say) so that
I can know what the result of clicking it would be? (This is probably
what 'act="32"' refers to.)
* alternatively, is there a way of simulating a click on the "link"
through Greasemonkey?

Another way would be to observe that clicking on it takes one to a URL
of the form https://mail.google.com/mail/?ui=2&ik=*&view=om&th=*,
where the ik parameter is always the same (probably my "user id"), and
the th parameter depends on the message (not the thread -- so it's not
identical to what's in the URL of the page unless there is only one
message in the thread). So does someone know how to get at the "th"
parameter of a particular message? This should be something in the
DOM, I just haven't found it yet...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to