Open trusktr opened 13 years ago
So I was going to try and implement this feature myself and made a fork so I started by adding some listeners.
I'd be a bit more able to if I could find a simple method for UpdateSession() or something like that in a .js file that I could call from my file. If these common "api" like methods were located in one file that could be accessed from the popup.html file as well as other .js and .html files.
Of course, I can try to do this myself, but I am just becoming acquainted to the extension and extension writing in general.
Cool! Any progress on this? Hmmmm.... Good thing the source code is openly available! Simple Window Saver already has this feature and that is also on github: https://github.com/nickbaum/simple-window-saver/
PLEASE, A NEEDED FEATURE: Can you modify Tab Cloud so that when the state of an opened window changes so it will be reflected in the saved tabs? For example, let's say I open a saved window, then I close a tab. Now when I look in tab cloud, that saved window should have one less tab in it. The same goes for adding tabs. If you navigate to a new page in an existing tab of the opened window, then in tab cloud that will be the new location for the corresponding tab of the saved window.
Also, when a window is open, the corresponding saved window in tab cloud should be highlighted.
And one last thing. Currently you can save a window as many times as you want and create multiple saved windows. When you do this, the state-reflection should automatically be passed to the last saved window. For example, let's say I open a saved window, then save it as a new window with a new name, then I open a new tab. In tab cloud i should see the old saved window, unmodified, and the new saved window with the new tab added to it. Then let's say I close two tabs and navigate to a new page on an existing tab. Tab Cloud should show the newly saved window with two less tabs and a new location for one of the tabs. The original saved window will still be unchanged. The new saved window will also be highlighted so you know that is the current window.
Do you get what I mean???
Check out "Simple Window Saver" to see how they do it: https://github.com/nickbaum/Simple-Window-Saver
You tow have the best two plugins, yours for syncing, and Simple Window Saver for live updating of the save windows.