[Ext] SessionSaver .2d: new (rewrite)Steve or Xanager:
I've wrapped each major area in a try-block. If anything fails, it will throw a numbered alert: <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>. . This should show us where the problem is. Okay, when I open up the browser I get:
catch-2: permission denied to get property UnnamedClass.classes When I open up a link in a new window I get: catch-4: TypeError: this.hiddenHash has no properties edit: I also get a catch-6 when I attempt to close a tab. It's a long failure code. Alright- those errors are patched for. I'll dig through lxr.mozilla later and see if/when Components are properly initialized in the Hidden Window. For now, the observer-obj just leeches the necessary services from the first browser.
. Try the above links, again. New build posted -- thanks for hangin' in there.
[update: private testing now underway. I'll post back when FB-compatibility lands. . pm, to join the test-crew] SessionSaver .2d (re-announced): <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>.
. <a href="http://forums.mozillazine.org/profile.php?mode=viewprofile&u=2403">TychoQuad</a> and I pulled an all-nighter. We've done our homework, and this time, it supports Firebird -- quite thoroughly. . You're welcome. Yes, we really did work all night... well, mostly for rue. I got some daytime.
![]() Thanks for all your hard work. It is working very nice. Thanks again.
One question though? I am missing options in toolbar which store/restore sessions? rob:
It's all automatic now, so the manual controls were removed. By default, your last session is always restored -- even if you crash. . If you're using Firebird, you can disable auto-load in the extension-panel "options". Mozilla users will have a "SessionSaver" item in the Tools-menu. Thanks. Great work. It works great..
couldn't this method be used for saving states when switching users/profiles? something kinda like fast user switching. you could switch to another profile, and upon return have all your windows, tabs, history, etc restored.
this of course depends on profile switching being added to firebird - i believe it already works in mozilla, but i'm not sure - i don't use it. some related threads: http://forums.mozillazine.org/viewtopic.php?t=12775 http://forums.mozillazine.org/viewtopic.php?t=40745 the only relevant bug i could find: http://bugzilla.mozilla.org/show_bug.cgi?id=214193 this is a great extension. the latest build works pretty much as advertised. sometimes it doesn't save the scroll position, and other small stuff like that, but crash recovery is awesome. miahz:
Have you noted if unsaved scroll-positions are specific to certain sites? . And, in theory, switching profiles would retain each user's session. If this proves otherwise, I can easily add it in. right, well i was thinking more of a seamless feature, where it would retain and reload sessions specifically on a profile switch, similar to a crash "non-exit" - even if you have the auto- options turned off. but you're right, i guess it probably would work just as well with the auto- options on. i guess i brot it up because i have them off - i want my normal homepage to start up under normal circumstances; i'm pretty much just using it for crash recovery.
as for specific pages, about:config was one of them. can you maybe explain a little how it works? like how often is the savesession string in the prefs updated? i noticed a few times when i was testing the auto restore that sometimes the "current" tab was incorrect, and some scroll positions weren't right - as if it wasn't updated in a minute or so before i exited. also, some sites that use cookies, like shopping sites don't reload properly all the time. Ah- about:config is a generated list, which doesn't have a trappable scrollbar property. I'll dig a bit more, but so far I've come up empty-handed. It annoys me too :P
. Regarding pref-saving: every time a tab finishes loading, the containing window's session-string is stored. To prevent thrashing, a timer only allows one save every 10sec's. It's also supposed to recapture your current session on shutdown, but, clearly that's not happening. I thought this was fixed: look for an update momentarily. . ps: and sites that expire on browser-close will never recall. Return to Extension/Theme Releases Who is onlineUsers browsing this forum: Bing [Bot] and 1 guest |
![]() |