Session Manager 0.1 to 0.3.9+
- Recall
- Posts: 1686
- Joined: November 7th, 2004, 11:07 am
- Location: United Kingdom
zeniko wrote:@desertfox: WFM. Try downloading it and installing it locally.
@dougeeebear: Thanks for the icon. Disabled Undo icons would be great (since the button gets disabled if there's nothing to be undone).
As for the history: once a session is saved, it isn't modified anymore. Of course, you can load a session, then clear the browser's history and then save that session again (resp. you will be able to do so in the next release, since due to a bug currently tab history isn't correctly erased). But why would you want to not store the history in the first place?
For me not wanting to store tab history is that it could store a page that I did not want seen by others. Is this something that is not possible?
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
- dougeeebear
- Posts: 548
- Joined: September 15th, 2005, 4:17 pm
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
@desertfox: Please try again.
@Recall: Sure it'd be possible, but I'm not sure I see the need for this feature. If you want to save just the current URLs, why not create a bookmark of the tab group and use Crash Recovery for text saving during the current session (by default, all data is discarded at shutdown). Or why not just browse "sensitive" sites in separate tabs and close those before shutdown/saving a session?
@dougeeebear: Thanks for the effort. I've included the Session Manager icon in version 0.3.1, but decided to use another icon set for the Undo Close button (a red cross, meaning either First Aid for an accidentally closed tab or Add another tab (again)). If you want to offer alternative icons for that button, please post them in the format of toolbar.png (no spacing, big and small icons besides each other - that's easier to reference from CSS).
Mouse junkies: the new toolbar button reacts also to all three mouse buttons - left-click is the default action (undo close tab), right-click opens the list with all closed windows/tabs and middle-click (or shift+click) opens an accidentally closed window. Note that the undo close list will be available for one button only (i.e. it is hidden on the Session Manager button if the Undo Close button is visible).
@Recall: Sure it'd be possible, but I'm not sure I see the need for this feature. If you want to save just the current URLs, why not create a bookmark of the tab group and use Crash Recovery for text saving during the current session (by default, all data is discarded at shutdown). Or why not just browse "sensitive" sites in separate tabs and close those before shutdown/saving a session?
@dougeeebear: Thanks for the effort. I've included the Session Manager icon in version 0.3.1, but decided to use another icon set for the Undo Close button (a red cross, meaning either First Aid for an accidentally closed tab or Add another tab (again)). If you want to offer alternative icons for that button, please post them in the format of toolbar.png (no spacing, big and small icons besides each other - that's easier to reference from CSS).
Mouse junkies: the new toolbar button reacts also to all three mouse buttons - left-click is the default action (undo close tab), right-click opens the list with all closed windows/tabs and middle-click (or shift+click) opens an accidentally closed window. Note that the undo close list will be available for one button only (i.e. it is hidden on the Session Manager button if the Undo Close button is visible).
-
- Posts: 947
- Joined: August 24th, 2005, 12:23 pm
@zeniko:
it works perfectly now! including undo close tab
in fact, just for Session Manager, I've now changed my superT extension so that you can whether to use superT's undoclosetab feature or Session Manager's
i like the toolbar buttons, but they clash with my Flock theme.
if i have time, i'll work on making an undo close tab button.
it works perfectly now! including undo close tab
in fact, just for Session Manager, I've now changed my superT extension so that you can whether to use superT's undoclosetab feature or Session Manager's
i like the toolbar buttons, but they clash with my Flock theme.
if i have time, i'll work on making an undo close tab button.
Last edited by ******** on March 4th, 2006, 8:17 pm, edited 1 time in total.
- dougeeebear
- Posts: 548
- Joined: September 15th, 2005, 4:17 pm
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
@desertfox: Glad to hear that.
@dougeeebear: The toolbar currently looks like this:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoBAMAAACvN6EuAAAAMFBMVEUAAACAAAAAgACAgAAAAICAAIAAgICAgIDAwMD/AAAA/wD//wDm5ub/AP8A///////IjNQKAAAAEHRSTlP/////////////////AP//c7mGeQAAAPpJREFUeJytkz0SgjAQhbdybDJc0Yor0HgAOutUXsXOhiIXyB0stUL27SYQRDeOvoJ5DB8vfy8UK0SRWE7ftj2FkXXDS+EH1qWA+LdYeIHgE9RPcoUXCL4WQjzR/jN04E/NtBRA3mNZgLoOHtC970/UjAniZ4L4OSftLIiTTGiR5CGBOugbqOUltBYE1SRZE2fI3IK/QaMccIJEesBDhuYPP0FSeCi+81R3pWqgQPMFCzJQXHsKUl6X753eTUzcZQjltSC0KUH+nIae9vuoXpMWkGYB0qzXJBN6oHHir2icQlJeC4Jqkqw5SeX+D+U91z4JFNcHvOGrqvIEe6a8LR7Hk/wAAAAASUVORK5CYII="> (of course substituting the first icon with yours: <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAgCAYAAACxSj5wAAAFnElEQVR42u2af0yUdRzH3w/3M2JTfril5OLnOtIjcMqspM3FH22FTcOWpRNMizE2l3cJ+E+/tjQ7KjcEWZpXYsWo/BGNtaYewkwPJ8EhhwPZRAEjkhZGcj+e6/N9uNMjubvnjjtOmu/tGfc897nPPZ/X3t8fn+fgcF9exblepKSkvGS327cEkMMhlUp3dXd3nwx3MaGQAIjgrMvMzNySlZW1MpAkjY2NRzs7Ow/09vbWh7ugYEsAlJCQcLK4uHilRqMJKElZWRlqampOXLt2LSfcBQVbAqDExMSfi4qKcrRard8JHA4HduzYgdra2vGoqKibQlKO8/oZm822m4bznkuXLo2HG8CMACopKUFbWxtyc3MhkUhAxXuMj4iIQHNz8+WWlpbvae56u6ur659wQwgpIKbS0m3o6+vD1q1bQUUL0NzFeLmYMUDkNhw/fvyMXC5/lgCNhhtCQICGhizo77eQRSiEc4DV/J+6BTEYe/Z8ioGBQaxdm0cOkrKrzvcYEGDePCAmhnOeR6Curg719fUGArRq1gKqqhrEu+9doYqoKp6DhAqTSqdOMjo6KgyryMhI4dxmm4DD4m02B9avt2H1ahusVk4AdOTIETQ0NBhkMtnsBbR7Zz9K3jcBTxOklvlY8ehCFGyeO+UEzOYddp1BYo6qrr6Bs2eXCO8tXGiEUvkT0tON4PkJwkNDQxgeHjYQrNuAVCqVw/ftTog+w4mNDRmg8l2D0H5yAdjQBhxLxean1PhMrxKVND+/A3r9Yiegc0hKakd29mWCJxGudXR0wGw2GwisAIjBoXPRN52WljZjkDwD+pAAfdwKvEIu+iEZBU8swueH0nD+fAvGxy3CUHEXz/NQKORYunQZNm3qxMGa60AUjbW/5NDtSoVGG387VqfTYe/evQalUhkwIF8KFkDRgPIJ0MFDvm+MqWBDJ/Snu4AcGp7HVNC9lQFNyfygAtq3b5/XmMLCwqBA8ttBJlM7LBbrlA6Sy2VQq9OxaYMZB3/pAF7oAWrSoXtzCTSlkwFVVlYaFArF/xOQ1Wq7a7Jmk7NMJnUDdBHIvQx8pYZuW+ZdDvIGiOOaAyrGYLizQZ05QOucQ+xJf4aYGfozTkBfBwjonRN0PEOrnffvjIszCzHsr0o1+WFE6AGVE6BX2wVAG5cvgr7mMVFJ89d34ouzTkCHaYhppgfIZDJN+T1qtVoA45LDseL268krXZPoLcRkZXO+AbFlfkSBlBupWCZLEpW2xdqLnphuIJp60UOPTxuQNwmAnLFeAQXgSN+AdAQo/1fqFcaAi7HAuQXiwC/vBxYPA79FAfoM6LQhdpCfgMQ6UpyDNpKD5lDDPSanQ+YdjMvIbIF7wApYaGP45exzkCtWPKAYctAFcs/pRN9wXISSfycnXQ3KHBRsQGIdKR5Q7N8EJwFo8DRJ88hYHIlW05I7RaZ8BzzfM71VjEm4US9yiwufg2LJQc2PAD966sXsyMuLxv798bQX4qirjwGXXAes6g18H+QqXKzubUA81qyZi6qqBQKg6OhYctC309soinWQy0ViAInJNynOC6CPdg5gO1vFXnMCamKAPNG3E6BoVFdPAJozhwFiDmL7ILXfrYYYQC4n+DUH+SNfgM4bb+Lw0auoONUOm5VWsf65wPVoj/ni4xXIyXmQejQOjafG0DvwB03UfwLmOOz8IA2lZQ/fG4D8cKRXQEx9V8axXXsFIyPWiT13hOcNKfWqwtNDJqmUQwRLzdMh4bHl9YeQ92LcPQ1oqnw+AfG8A7du8b6J+xAbdjLZne5fTDcfSMMaMkDT/eHQX5WXl6OioqJJqVQ+F8jjDjEKKqDp/vTsr4xG46nW1tYDUqm0joqwhB6QE5Lfyubc/3nhZbvd/sZMAJJIJNU9PT3fuF/z56G9GAX1ket9eda/jYKAXVGvUlgAAAAASUVORK5CYII=">)
@dougeeebear: The toolbar currently looks like this:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoBAMAAACvN6EuAAAAMFBMVEUAAACAAAAAgACAgAAAAICAAIAAgICAgIDAwMD/AAAA/wD//wDm5ub/AP8A///////IjNQKAAAAEHRSTlP/////////////////AP//c7mGeQAAAPpJREFUeJytkz0SgjAQhbdybDJc0Yor0HgAOutUXsXOhiIXyB0stUL27SYQRDeOvoJ5DB8vfy8UK0SRWE7ftj2FkXXDS+EH1qWA+LdYeIHgE9RPcoUXCL4WQjzR/jN04E/NtBRA3mNZgLoOHtC970/UjAniZ4L4OSftLIiTTGiR5CGBOugbqOUltBYE1SRZE2fI3IK/QaMccIJEesBDhuYPP0FSeCi+81R3pWqgQPMFCzJQXHsKUl6X753eTUzcZQjltSC0KUH+nIae9vuoXpMWkGYB0qzXJBN6oHHir2icQlJeC4Jqkqw5SeX+D+U91z4JFNcHvOGrqvIEe6a8LR7Hk/wAAAAASUVORK5CYII="> (of course substituting the first icon with yours: <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAgCAYAAACxSj5wAAAFnElEQVR42u2af0yUdRzH3w/3M2JTfril5OLnOtIjcMqspM3FH22FTcOWpRNMizE2l3cJ+E+/tjQ7KjcEWZpXYsWo/BGNtaYewkwPJ8EhhwPZRAEjkhZGcj+e6/N9uNMjubvnjjtOmu/tGfc897nPPZ/X3t8fn+fgcF9exblepKSkvGS327cEkMMhlUp3dXd3nwx3MaGQAIjgrMvMzNySlZW1MpAkjY2NRzs7Ow/09vbWh7ugYEsAlJCQcLK4uHilRqMJKElZWRlqampOXLt2LSfcBQVbAqDExMSfi4qKcrRard8JHA4HduzYgdra2vGoqKibQlKO8/oZm822m4bznkuXLo2HG8CMACopKUFbWxtyc3MhkUhAxXuMj4iIQHNz8+WWlpbvae56u6ur659wQwgpIKbS0m3o6+vD1q1bQUUL0NzFeLmYMUDkNhw/fvyMXC5/lgCNhhtCQICGhizo77eQRSiEc4DV/J+6BTEYe/Z8ioGBQaxdm0cOkrKrzvcYEGDePCAmhnOeR6Curg719fUGArRq1gKqqhrEu+9doYqoK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5VWsf65wPVoj/ni4xXIyXmQejQOjafG0DvwB03UfwLmOOz8IA2lZQ/fG4D8cKRXQEx9V8axXXsFIyPWiT13hOcNKfWqwtNDJqmUQwRLzdMh4bHl9YeQ92LcPQ1oqnw+AfG8A7du8b6J+xAbdjLZne5fTDcfSMMaMkDT/eHQX5WXl6OioqJJqVQ+F8jjDjEKKqDp/vTsr4xG46nW1tYDUqm0joqwhB6QE5Lfyubc/3nhZbvd/sZMAJJIJNU9PT3fuF/z56G9GAX1ket9eda/jYKAXVGvUlgAAAAASUVORK5CYII=">)
- dougeeebear
- Posts: 548
- Joined: September 15th, 2005, 4:17 pm
@zenico: Looks good.
Question:
I want to rearrange my Session Manager toolbar menu layout.
Can I do this with css...
--- remove these items on the top ---
Save Session...
Save Current Window...
<menu separator>
--- remove these items on the bottom ---
<menu separator>
Open Session Folder
--- move these items to the top ---
Rename Session...
Delete Session(s)...
Question:
I want to rearrange my Session Manager toolbar menu layout.
Can I do this with css...
--- remove these items on the top ---
Save Session...
Save Current Window...
<menu separator>
--- remove these items on the bottom ---
<menu separator>
Open Session Folder
--- move these items to the top ---
Rename Session...
Delete Session(s)...
Last edited by dougeeebear on March 5th, 2006, 11:37 am, edited 1 time in total.
- dougeeebear
- Posts: 548
- Joined: September 15th, 2005, 4:17 pm
- dougeeebear
- Posts: 548
- Joined: September 15th, 2005, 4:17 pm
I have "Replace Existing Windows" checked, but when I restore a closed window, it opens up a new Firefox window.
What I want is to do is replace the existing window the same way opening a new session does.
What I don't want is multiple windows open (I hate that).
I would think having that setting checked would force sessions AND closed windows to replace the existing window.
What I want is to do is replace the existing window the same way opening a new session does.
What I don't want is multiple windows open (I hate that).
I would think having that setting checked would force sessions AND closed windows to replace the existing window.
-
- Posts: 1029
- Joined: January 28th, 2006, 3:08 pm
hmm, i have the reverse problem! i have a window open, and have Replace Existing Windows [off], but when i try to open a different, previously saved session (or window, don't know if it matters) then i just get a new window with no saved session.. i'm expecting the second session to open in its saved state location; the new window just opens in a standard overlay slighly down&right. 0.3.1.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
@dougeeebear: You can remove the unwanted items through the following code. Reordering the other two items is AFAIK not possible in CSS alone.
As for your other problem: It should in fact overwrite the current window and not open a new one. I'll look into this problem.
@alta88: As of <a href="http://www.haslo.ch/zeniko/software/sessionmanager.xpi">version 0.3.1.1</a> the dialog's position should be remembered as well. ~ As for the restoring problem: do you get any messages in the JS console? You could also open the session's file in a text editor and look whether the window dimensions were correctly saved in the first place (resp.: converted from the old to the new file format).
Code: Select all
#sessionmanager-toolbar menuitem[oncommand="gSessionManager.save();"],
#sessionmanager-toolbar menuitem[oncommand="gSessionManager.saveWindow();"],
#sessionmanager-toolbar menuseparator[_id="start-separator"],
#sessionmanager-toolbar menuitem[oncommand="gSessionManager.openFolder();"] {
display: none !important;
}
As for your other problem: It should in fact overwrite the current window and not open a new one. I'll look into this problem.
@alta88: As of <a href="http://www.haslo.ch/zeniko/software/sessionmanager.xpi">version 0.3.1.1</a> the dialog's position should be remembered as well. ~ As for the restoring problem: do you get any messages in the JS console? You could also open the session's file in a text editor and look whether the window dimensions were correctly saved in the first place (resp.: converted from the old to the new file format).
-
- Posts: 1029
- Joined: January 28th, 2006, 3:08 pm
thanks for the dialog pos.
the sequence just now was A was running, i chose B, got a new blank window. i (closed blank window) then restarted, chose B from dialog, and it opened in the right pos with the right tabs. i resaved B, restarted, selected A. i chose B and perhaps due to the fact that i resaved, its session came up. but its pos was not right; same as before. the x, y for both should be 0,0.
A has this section:
[Window1]
selected=4
width=1182
height=642
sizemode=normal
sidebar=extensionsEMbSidebar
B has this section:
[Window1]
selected=2
width=1183
height=642
sizemode=normal
there were no javascript errors relating to session manager, the few others seemed very unrelated, only possibility might be Error in parsing value for property 'max-width' from browser.xul.
the sequence just now was A was running, i chose B, got a new blank window. i (closed blank window) then restarted, chose B from dialog, and it opened in the right pos with the right tabs. i resaved B, restarted, selected A. i chose B and perhaps due to the fact that i resaved, its session came up. but its pos was not right; same as before. the x, y for both should be 0,0.
A has this section:
[Window1]
selected=4
width=1182
height=642
sizemode=normal
sidebar=extensionsEMbSidebar
B has this section:
[Window1]
selected=2
width=1183
height=642
sizemode=normal
there were no javascript errors relating to session manager, the few others seemed very unrelated, only possibility might be Error in parsing value for property 'max-width' from browser.xul.