Hacking Gmail

(Grace) #1

Long Code Listings


T


his book contains a lot of code. You love it really, but the
designers do not. So to make the book more readable I
moved all the long bits of code to this appendix. Enjoy!

Chapter 4


Listing A-1: The HTML That Displays the Inbox



<META http-equiv=”content-type”
content=”text/html; charset=UTF-8”/>
<SCRIPT>
D=(top.js&&top.js.init)?function(d){top.
js.P(window,d)}:function(){};if(window==top){top
.location=’/gmail?search=inbox&view=tl&s
tart=0&init=1&zx=3177c401850460908955817
35&fs=1’;} </SCRIPT>
<SCRIPT>
<!--
D(["v","3177c40185046090"]
);
D(["ud","[email protected]
","{\"o\":\"OPEN\"
,\"/\":\"SEARCH\",\"\\r
\":\"OPEN\",\"k\":\&quo
t;PREV\",\"r\":\"REPLY\"
;,\"c\":\"COMPOSE\",\"g
c\":\"GO_CONTACTS\",\"gd\&qu
ot;:\"GO_DRAFTS\",\"p\":\&qu
ot;PREVMSG\",\"gi\":\"GO_INB
OX\",\"a\":\"REPLYALL\"
,\"!\":\"SPAM\",\"f\&qu
ot;:\"FORWARD\",\"u\":\"
;BACK\"
Continued

Appendix: Long Code Listings


̨More long code
listings

appendix


in this appendix


23_59611x app.qxp 11/28/05 11:16 PM Page 223

Free download pdf