Commits

Uche Ogbuji committed 5a190ea

Complete update

  • Participants
  • Parent commits 3caffab

Comments (0)

Files changed (1)

File firefox_session_textareas.py

 
 Print out text area content cached by Firefox in the saved session file.
 
+For more information, see:
+
+http://broadcast.oreilly.com/2009/01/recovering-text-areas-from-fir.html
+
 Sample usage:
 
 python firefox_session_textareas.py "~/.firefox/Profiles/*/sessionstore.js"
 
 #Now check the Firefox 3.5 sessionstore.js format
 for match in TEXTAREA_PAT_3_5.finditer(sessioninfo):
-    #{"url":"http://trac.xml3k.org/newticket","title":"New Ticket – xml3k – Trac","ID":2969506219,"scroll":"0,121","formdata":{"#proj-search":"","#field-summary":"Fix-up of Amara bindery nodes after xml_namespace update","#field-reporter":"http://uche.myopenid.com/","#field-description":"Amara bindery nodes are bound to their parents by connecting (via a descriptor) a Python attribute name to a namespace/local name combination.\u000a\u000aGiven the following document:\u000a\u000a{{{\u000a<top xmlns:a=\"urn:bogus:a\">\u000a  <a:monty/>\u000a</top>\u000a}}}
     if search is None or search in match.group(0):
         #print match.group(0)
         print HEADING_TPL%match.group(1)