There's a great plug-in for Chrome (maybe other browsers) called Lazarus Form Recovery that remembers everything you type in a field. You'll want to look at the various settings after installation -- for example, do you want it to remember what you type into password fields? -- but it's great for recovering text in cases like this.