Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

[Bon Echo on DSLinux] How would one extract post-form plaintext directly from the sessionrestore.js? (Typed massive post, backed-up, crashed, then the forum eats the post on restore.)

  • 3 ردود
  • 1 has this problem
  • 3 views
  • آخر ردّ كتبه cor-el

more options

(Didn't expect a separate detail box...) I'm running the latest version of Damn Small Linux with its plain "Bon Echo version 2.0", and despite this being temporary and sub-par, I've kept exploring and posting as usual. I had typed up about 2/3rds of a particularily large post, took a moment to backup to my jumpdrive, then another 4th later we had a power outage. This would usually be no problem, except that this particular forum gives an "invalid form" error upon attempting to reload the page (logged in or not), thus dropping the post. After messing with it and reading what old information I could find, it seems like there should be a way to get the text directly from sessionstore.js, but all I can spot there among the addresses and scroll bits are the "cacheKey:[10digit]"s and "ID:[9digit]"s. Is there some way I can use these with another file to get the plaintext?

(Didn't expect a separate detail box...) I'm running the latest version of Damn Small Linux with its plain "Bon Echo version 2.0", and despite this being temporary and sub-par, I've kept exploring and posting as usual. I had typed up about 2/3rds of a particularily large post, took a moment to backup to my jumpdrive, then another 4th later we had a power outage. This would usually be no problem, except that this particular forum gives an "invalid form" error upon attempting to reload the page (logged in or not), thus dropping the post. After messing with it and reading what old information I could find, it seems like there should be a way to get the text directly from sessionstore.js, but all I can spot there among the addresses and scroll bits are the "cacheKey:[10digit]"s and "ID:[9digit]"s. Is there some way I can use these with another file to get the plaintext?

All Replies (3)

more options

Maybe there's some documentation any of you could think of? Or someone I could message instead? Anything?

more options

Sorry, that version was first released almost 5 years ago and few people use any longer. I happen to have 2.0.0.20 installed and just tested it by killing the Firefox process with text in a text area. I didn't see the text which I had typed in the textarea saved in the sessionstore.js file. As to where it was saved I don't know, but when I re-opened 2.0.0.20 and that page reloaded the textarea content was restored. As I recall, that feature was very iffy before Firefox 3, and I used an extension to cache what was typed into textareas in case Firefox 2 crashed. I don't recall exactly which extension I used, different PC now and I didn't transfer everything to the new PC because I built it specifically because the old PC couldn't handle the Firefox 3+ versions (and it was only 9 years old at the time - LOL).

See if this extension helps you. It's the last of that type of extension which supports pre-3.0 versions of Firefox, which I can find now.
https://addons.mozilla.org/en-US/firefox/addon/textsaver/

more options

There are some JavaScript bookmarklets in this mozillaZine forum thread that you can try: