My style of browsing the Web has always been a mess of windows and tabs. I've always relied on tools to protect this messy model. Galeon has always had a built-in session saver, and I didn't switch to Firefox until I found a good session saver extension. Firefox 2 finally built in this feature. Usually a fair proportion of my mess of open pages are wiki pages and other Web forms in some partial state of completion. Thankfully Firefox's session saver also saves contents of text areas. But this isn't foolproof. Sometimes quirks or complexity in the server workflow mean cause inadvertent loss of text area information. For example, wikis with their own server-side session management might time you out of an editing session and trigger a redirect, replacing the text area restored by the browser with the last-saved version.
If I want to browse through all the text areas in a saved session, I can just invoke it as follows:
python firefox_session_textareas.py "/Users/uche/Library/Application Support/Firefox/Profiles/$PROFILE-ID/sessionstore.js"
If I specifically want to look for a URL, or page title, or a particular string from text area contents, I can specify it as a second command line parameter, for example:
python firefox_session_textareas.py "/Users/uche/Library/Application Support/Firefox/Profiles/$PROFILE-ID/sessionstore.js" Sightings
And it will only show the instances including the string "Sightings". For each match, you get something like the following:
------------ firefox_session_textareas.py - http://wiki.xml3k.org/Sightings?action=edit ------------
These are Web/media mentions of xml3k tools. Avoid mentions that don't add new info, e.g. a mirroring of existing resources. But if something indicates someone or some project is using an xml3k, even fleetingly, it's worth adding.
* [http://rss-atom-guide.blogspot.com/2007/12/gathering-tools.html "RSS and Atom Feeds Tricks: Gathering Tools"] - Uses 4Suite as a key tool, though an older version
* [http://blog.erikisaksson.com/2008/03/08/pebble-migration/ "Pebble Migration"] - "In order to migrate this weblog from Pebble 2.2 to WordPress 2.3.3, I created a small, quick-and-dirty migration script." Uses 4Suite
* [http://feihonghsu.blogspot.com/2007/10/why-net-programmers-should-care-about.html "Why .NET Programmers Should Care About Python"] - Nice Amara tutorial
Another technique I find useful with Firefox is to periodically copy the session file sessionstore.js. Even though I have Time Machine on Mac, it would be far too awkward to restore a session file that way. It's easier to keep snapshots, and then I can always use firefox_session_textareas.py whenever I need to recover text area information from the past.
Update: I updated this program to work in Firefox 3.5, which changed the stored session JS format. The main location for this tool is now in this repository, and specifically at: http://bitbucket.org/uche/scatter-share/src/tip/firefox_session_textareas.py (use the "raw" link to download).