Talk about add-ons and extension development.
By the way I wrote my own crash recovery extension, imaginatively called Crash Recovery Lite, designed from the ground up for speed. Consequently, it is so quick you won't notice it (unlike SessionSaver ), but it only saves the addresses of all tabs in all windows and (optionally) restores them on next startup (that's right, no text restoring, scroll position save, or restoring tabs after closing the browser normally). Those of you who don't need these and other features of SessionSaver and care about speed take notice!
As a middle way between Crash Recovery Lite and Tab Saver! on the one side and SessionSaver and Tab Mix Plus on the other, <a href="http://www.haslo.ch/zeniko/software/crashrecovery.xpi">Crash Recovery</a> is back.
The functionality is still about the same (history, text and cookie saving), it is just better integrated into Firefox. You can get the optional session resuming by prepending your homepage with about:crashrecovery? and still adapt the saving interval (extensions.crashrecovery.interval). The data is now saved into a text file in your profile folder and a backup is created after a crash. Finally, it should prevent the cache being emptied after a crash (feature provided by Cache Fixer).
The first minor update, <a href="http://www.haslo.ch/zeniko/software/crashrecovery.xpi">Crash Recovery 0.5.1.1</a>, restores SeaMonkey compatibility and fixes some minor bugs (debug messages in Console and cookies from localhost ignored).
kudos on a job well done. I like the way this is written as a component and as you said lean & mean
Can I suggest 2 things (this might be feature bloat, though)
1. Since there you've created the "crashrecovery" component factory how hard would it would it be to implement an "On Demand Restore" by typing "about:crashrecovery" in the location bar, currently it displays the contents of the crashrecovery.dat instead of executing the "restoring" function (or perhaps can u provide the command syntax I could use in the keyconfig extension; It seems the code is all there but I I wasn't able to succesfully call the function)
2. An option (off by default) to save 'X' number of crashrecovery.dat files (instead of deleting/overwriting it on start) eg. crashrecovery-2006-01-26.dat, crashrecovery-2006-01-25.dat, crashrecovery-2006-01-24.dat ..... etc. this could be used as a minimilist method of restoring a prior lost session
You seem to want to mis-use Crash Recovery as a session manager...
2. Do you really think that anybody would come back to a lost session if he/she doesn't right after the crash? You most probably wouldn't even know what that session consisted of. Now, just in case getting back to it fails, Crash Recovery creates on backup (crashrecovery.bak), so that you could extract the relevant data manually (before closing the browser(!), since all session data is removed if session resuming is disabled). I'm not sure how multiple backups would help here (and whether to delete them at a successful shutdown or not). In any case, you could always make backups through an extension (e.g. with Bookmark Backup which could collect crash data for at least 7 days). I'll think about it.
<a href="http://www.haslo.ch/zeniko/software/crashrecovery.xpi">Crash Recovery 0.5.3</a> is now scriptable enough for it to function as the base of some light session manager:
exactly my thoughts
Now, playing with the 'state' string should yield what I'm after....
My name is Yujiro Nakamura, an editor of "Windows Forest"
a webzine about Windows online software at Impress Watch Corporation,
Our website "Windows Forest" is known as an online software directory
service in Japan, and we have 34 millions pageviews per month. We owe
this figure to every online software author and users of our website.
We will announce you that we introduced your excellent software
today in our news article. Its URL is shown below.
We are sorry that no english page is available.
http://www.forest.impress.co.jp/article ... overy.html
We thank you and if your software is updated or new software is
released, please tell us.
We appriciate your business,
Yujiro Nakamura, Editor
As a demonstration of Crash Recovery's session saving/restoring features, I've written a simple front-end called Session Manager which is quite similar to SessionSaver (although with different idiosyncracies). If you want to try it, make sure to uninstall Crash Recovery before installing Session Manager (since both use the exact same component).
As Session Manager progresses, there are also some fixes and improvements getting back into Crash Recovery. Here goes <a href="http://www.haslo.ch/zeniko/software/crashrecovery.xpi">version 0.5.5</a> which adds as a main improvement a third pref to control on which sites sensitive data (form data, POSTDATA and cookies) is saved: extensions.crashrecovery.privacy_level which can be either 0 (always save), 1 (don't save on secure/https sites) or 2 (never save). It also adds two more locales (Czech and Turkish) - thanks to the translators.
As of <a href="http://www.haslo.ch/zeniko/software/crashrecovery.xpi">version 0.5.7</a>, Crash Recovery allows extension authors to easily persist tab specific data:
When the tab is restored, you'll get a CRTabRestoring event when the chrome part of the tab is restored and a CRTabRestored event when the content is restored as well:
This allows extensions such as ImgLikeOpera to retain their functionality without any ugly hacking (see this rant by the extension's author).
I'm using SeaMonkey 1.0
After I installed CrashRecovery, I couldn't see it in anywhere.
I used Multizilla to check if it was installed properly, but I couldn't see this plugin in the plugin list.
It seems there's something wrong with CrashRecovery.
How to check to make sure if it works?
About my computer:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20060130 MultiZilla/188.8.131.52c SeaMonkey/1.0
My extensions are:
- IE View
Crash Recovery is designed to be "install and forget". There isn't any UI to it and you should only note that it's there after a crash. If you want to make sure that it works, go to Edit -> Preferences -> Navigator and select for "Display on Navigator Startup" "Last Page Visited". Restarting SeaMonkey with more than one tab open should then restore all tabs. Alternatively, entering the URL about:crashrecovery?about:crashrecovery should show you a debugging screen. And the ultimate test is of course: kill SeaMonkey's process, restart it and watch what's being recovered...
No it just doesn't exist or doesn't work at all.
- No restoration after crash
- Nothing when I press "about:crashrecovery?about:crashrecovery", or just "about:crashrecovery"
Who is online
Users browsing this forum: No registered users and 1 guest