Hacking Gmail
Chapter 6 — Gmail and Greasemonkey 97 } a.appendChild(document.createTextNode(txt)); li.appendChild(a); ul.appendChild(li); } fu ...
98 Part II — Getting Inside Gmail Listing 6-1(continued) } function getText(e){ nodes=e.childNodes; for (var i=0; i<nodes.len ...
Chapter 6 — Gmail and Greasemonkey 99 } invite=document.getElementById(‘nb_1’); if (invite){ invite.style.display=’none’; } docu ...
100 Part II — Getting Inside Gmail Listing 6-1(continued) } if (window.location.href==’http://gmail.google.com/gmail?logout& ...
Chapter 6 — Gmail and Greasemonkey 101 Even better, the script then has to go use the data in the subs list, which is placed ins ...
102 Part II — Getting Inside Gmail Listing 6-2:Adding the Delete Button // ==UserScript== // @name Gmail Delete Button // @names ...
Chapter 6 — Gmail and Greasemonkey 103 // Perhaps it was fixed and the timing of reports was off, but this // should make things ...
104 Part II — Getting Inside Gmail Listing 6-2(continued) s+=’ ‘+e.name+’: ‘+e.message+’\n’; dump(s); } function _gd_element(id) ...
Chapter 6 — Gmail and Greasemonkey 105 } catch (e) { gd_dumpErr(e); } } return; } //set the command index and fire the change ev ...
106 Part II — Getting Inside Gmail Listing 6-2(continued) //it was suggested by a user that ‘Apaga’ is more proper for this lang ...
Chapter 6 — Gmail and Greasemonkey 107 if (0==id) { spacer=insert_container.firstChild.nextSibling.nextSibling.clo neNode(false) ...
108 Part II — Getting Inside Gmail Listing 6-2(continued) } function _gd_button_event() { try{ setTimeout(_gd_place_delete_butto ...
Chapter 6 — Gmail and Greasemonkey 109 It is ridiculously simple, consisting simply of only one line of actual code (the rest, t ...
110 Part II — Getting Inside Gmail Listing 6-3(continued) Copyright (C) 2005 Mark Pilgrim This program is free software; you can ...
Chapter 6 — Gmail and Greasemonkey 111 Julien Couvreur’s MailtoComposeInGmail userscript solves this issue. It applies itself to ...
112 Part II — Getting Inside Gmail Listing 6-4(continued) // ----------------------------------------------------------- ------- ...
Chapter 6 — Gmail and Greasemonkey 113 if (nameValue && nameValue.length == 3) { // depending on name, store value in a ...
114 Part II — Getting Inside Gmail to the link instead. When you click such a link, Firefox fires off the JavaScript function in ...
Chapter 6 — Gmail and Greasemonkey 115 Jim Lawton’s userscript creates a button that, when mails are selected, allows them to be ...
...
«
2
3
4
5
6
7
8
9
10
11
»
Free download pdf