Bookmarklets Archive
Deeper into the rabbit hole: Gmail scripting part 3!
I have discovered that the “reply” editing area is not always named “hc_0” or “ta_0“. No, the number following the underscore can be other numbers — it seems to correspond to the index of message in the conversation.
This gets more complex, because I forgot that more than one reply editing area can be open at [...]
Scripting Gmail part 2
UPDATE: Haha, alas this does not work all the time. Yep. See my next post… sigh.
After some time poking around with Firebug, here’s the updated code that also handles the “reply” text-editing area!
/* gmail seems to cycle between frames ‘v1′, ‘v2′ and ‘v3′. try all */
var success = false;
var editorNames = [ ‘hc_compose’, ‘ta_compose’, ‘hc_0′, [...]
Scripting Gmail with Bookmarklets
I am working on some bookmarklets for Gmail. I discovered that targetting any specific element in the Gmail window is a bit tricky, due to Google’s interesting use of frames.
It turns out that Gmail swaps between using frames named “v1″ and “v2″ to display the main content (at least in Firefox). If I had to [...]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


