wcarloss wrote:Is there an about:config entry to add a menu item that says "Undo Close Tab" like the UndoCloseTab extension
There is no such option, but you could add it yourself with an extension such as
MenuManipulator (which is to Mouse about as is keyconfig to Keyboard). I prefer not to show too much UI per default, but let you easily add ways of accessing the functionality yourself - through MenuManipulator, keyconfig, Tab Clicking Options (or TMP), etc.
C@rb0n wrote:could you please make the "Closed Windows:" and "Closed Tabs:" labels easier for those who are "visually impaired" to handle?
I'll think about it, although I don't want these labels to be too obtrusive for the rest. Until I find a solution (or get hinted at one), you could use the following CSS:
Code: Select all
#sessionmanager-menu menuitem[_id="windows"], #sessionmanager-toolbar menuitem[_id="windows"], #sessionmanager-undo menuitem[_id="windows"], #sessionmanager-menu menuitem[_id="tabs"], #sessionmanager-toolbar menuitem[_id="tabs"], #sessionmanager-undo menuitem[_id="tabs"] { font-size: 100% !important; color: menutext !important; }
dougeeebear wrote:Is there something I can change in sessionmanager.js (or some other hack) to stop tab history from being preserved in sessions, but keep it preserved on crashing?
Add the following method to gSessionManager and call it then on the result of getSessionState in the save method (should you need more help for this, just PM me):
Code: Select all
removeTabHistory: function(aState) {
return aState.replace(this.mOneTabRE, function($0, $1) {
var data = $0.split("\n\n");
if (/^index=(\d+)/m.test(data[0])) {
var index = RegExp.$1;
data[0] = data[0].replace(/^(index=)\d+/m, "$11");
return data.filter(function(aEntry, aIx) {
var header = "[Window" + $1 + ".Entry" + index;
return aIx == 0 || aEntry.indexOf(header + "]") == 0 || aEntry.indexOf(header + ".") == 0;
}).join("\n\n").replace(/^(\[Window\d+\.Tab\d+\.Entry)\d+/gm, "$11");
}
return $0;
});
},
aoeu wrote:I'd suggest a seperate entry in the Tools menu for closed tabs and closed windows -- as SessionSaver did. That way it was possible to press Alt-T->b->a (or was it 1) for the last tab, as I don't have any special shortcut extensions.
I'll think about it, although I'm not conviced that the Tools menu is the proper place for such a menu (Session Manager is a tool, a list of closed windows/tabs isn't). OTOH, [Alt]-[T] + [b] + [a] isn't the easiest way for restoring a tab - and just for that I won't add the desired menu. Please consider using
keyconfig for creating [Ctrl]+[Shift]+[Z] or a similar shortcut or use the Undo Close toolbar button for one-click restoring.
riowong wrote:1, Could the saved sessions of SessionSaver be migrated to Session Manager easily?
As long as nobody steps forward and writes a conversion routine, you'll be stuck with having both extensions side-by-side and playing the load-it-save-it game (a note to developers: converting
to Session Manager's file format should be quite simple - since you'll just have to deal with JavaScript objects -, converting
from SessionSaver's format will thus be the main job).
riowong wrote:2, If I don't uninstall SessionSaver for keeping using saved sessions for the time being, could I uncheck all settings inside SessionSaver for solving conflicting issue with Session Manager?
AFAIK there's no (UI) option to disable SessionSaver's crash recovering feature (setting the hidden crashload pref to false might do the trick). You might thus get unexpected behavior after a crash. At worst, you'll have to disable SessionSaver if you don't want to uninstall it completely. In the end, you have to know that I just preemptively warn not to use SessionSaver at the same time - I've simply never tested it.