Hacking Gmail
Chapter One
How Gmail Works
in this chapter
Getting at the code
The interface
XMLHttpRequest
Packet sniffing
Probing the
interface
Decoding the data
By now you've learned how to use Gmail with some flair, and
you can change the way it looks to a certain extent. Now
you have to look into exactly how it works. You already
know that the majority of the Gmail functionality is enacted
client-side-that is, on the browser, rather than at the server-and
is done with JavaScript. This chapter describes exactly how
this works and how you can exploit it.
What the Devil Is Going On?
Before revealing just what's happening, let's recap. In Chapter 4
you used the DOM inspector inside Firefox to help you dissect
the HTML, and this will help you again. So, as before, ope ... read full excerpt from Hacking GMail ebook