One of my favorite, must-have Firefox plug-ins is It’s All Text. Not only does it make writing long entries in web forms pleasant, it can also save your bacon. Just today I wrote a long email in Gmail using It’s All Text and then accidentally navigated to a new web page. Returning to the Gmail window, most of what I had written was gone, but there was still hope.
~/.mozilla/firefox/*.default/itsalltext I found a text document that contained everything I had written and saved upon exiting the text editor. You might have to look through a few files, but hopefully you can use the date and time stamp to make an educated guess.
mail.google.com.241i21262s.txt I simply copy and pasted the text right back into Gmail and sent the message. The key is to save frequently while the text editor is open and upon exit. I’m not sure how long It’s All Text keeps these files around, but I have yet to need a file that wasn’t there.