Clear all textareas bookmarklet

Discussion in 'iPod touch' started by carrythebanner, Oct 15, 2007.

  1. carrythebanner

    carrythebanner New Member

    Sep 19, 2007
    Likes Received:
    One major annoyance I've had with webmail on my Touch is that the cursor is often placed after quoted material. When e-mailing from the desktop it's easy enough to put the cursor before the quoted text, or delete it altogether, but neither was very simple or quick from my Touch.

    So, I created a bookmarklet that will remove all text from any textareas on the page. Now when I want to reply to a message, I just tap this bookmark first to clear the body and then start typing.

    Note that the To:, Cc:, Bcc:, and Subject fields are almost always input fields, not textareas, so this should only nuke the body message area -- that's the case with Yahoo mail, for example. However, there are many webmail options out there and some may use textareas for other things, so your mileage may vary.

    Here's the javascript:

Share This Page