GithubHelp home page GithubHelp logo

nickbaum / simple-window-saver Goto Github PK

View Code? Open in Web Editor NEW
40.0 6.0 22.0 1.25 MB

An extension for Google Chrome that lets you save and restore windows. Download the latest version here:

Home Page: https://chrome.google.com/extensions/detail/fpfmklldfnlcblofkhdeoohfppdoejdc

Shell 2.95% JavaScript 97.05%

simple-window-saver's Introduction

Name: Simple Window Saver
Author: Nick Baum ([email protected])
Download: https://chrome.google.com/extensions/detail/fpfmklldfnlcblofkhdeoohfppdoejdc

Simple Window Saver makes it super easy to save and restore windows. Keep one window for work tabs, one for Gmail and Facebook, and one for your vacation planning or the research on that new TV you want to buy.

As the title reveals, simplicity is the name of the game. Unlike other session managers, Simple Window Saver remembers when you've saved a window and keeps track of changes. It's not full of features you don't need – it does what you want and it does it well.

simple-window-saver's People

Contributors

nickbaum avatar timoreimann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

simple-window-saver's Issues

Quota of LocalStorage exceeded

I have around 380 Tabs saved in about 10 windows, which should be absolutely no problem, but suddenly the extension stopped working completely.

Error handling response: Error: Failed to set a named property on 'Storage': Setting the value of 'Window' exceeded the quota.
    at storeWindow (chrome-extension://fpfmklldfnlcblofkhdeoohfppdoejdc/background.js:149:22)
    at saveWindow (chrome-extension://fpfmklldfnlcblofkhdeoohfppdoejdc/background.js:133:3)
    at chrome-extension://fpfmklldfnlcblofkhdeoohfppdoejdc/popup.js:93:36

It should use another way of storage, LocalStorage is not made for anything this large.

Disallow identical names

You might want to prevent identical names from being accidentally used for sessions, especially as they can't be renamed. (Great product, btw)

Support mobile

Currently the Chrome extension system doesn't support mobile (iOS and Android), but if it ever does, we should add support for it.

"close" button isn't aligned properly on long session names

When having a session name whose length exceeds a specific width, the "close" button (i.e., "x") appearing on mouse-over won't be aligned properly with the session name anymore in the list of stored sessions. Instead of being on the same vertical level, it'll be located slightly below.

Omnibox support

Make it possible to open sessions by name from the Omnibox.

Session renaming

Simple WIndow Saver should provide a method to rename existing sessions. Although this can be accomplished by deleting the session and immediately re-creating it under a different name, a one-step UI way (e.g., "rename" button) would be nice to have.

Things to be taken care of when implementing this feature:

  • Existing sessions should not be overwritten.
  • Cancelling the rename operation should be possible.
  • An "undo" button should be available after renaming is done, similar to how session removals can be reverted.

work in incognito mode

First, thanks for the extension, great stuff!

Then, to the point: I was wondering if there's any technical limitation preventing this extension to work in incognito mode? If so, "what a pitty".
But otherwise, it would be great having it there: as I see and use it, this extension is a great shortcut to temporary bookmarking, which is still possible in incognito and which doesn't devoid the incognito mode of its purpose.

Motivation: I use incognito mode for ~90% of my browsing and some study topics extend past a chrome session (which I try to keep as short as possible, b/c ..incognito!).

Thanks!

Update manifest to version 2

As noted in the documentation, manifest version 1 was deprecated in Chrome 18. Starting with Chrome 23, extensions which haven't upgraded to version 2 will be blocked from updates, and during the course of the next year further, more strict restrictions will take effect. Simple Window Saver should therefore upgrade to manifest version 2.

Don't worry about doing the work yourself -- I've already carried out the manifest upgrade on my fork. A pull request will follow soon.

How do I Import saved window list into Brave browser

I have managed to install the extension into Brave but now I don't see anything in Simple Window Saver - although there's tons of groups in my Chrome instance. I don't want to create them manually.

How do I import that into brave? Is it related to #20?

I'm happy to copy folders across if it means just doing that to make things work.

Saved windows and internal settings share same namespace

If you save a window named "savedWindowNames" then all your saved windows disappear. I know this isn't exactly likely to happen, but it's still possible and straightforward to avoid.

A more likely example is naming a saved window "version" which would break the update messages.

I think the simplest fix is saving windows as localStorage['savedWindow-' + nameOfWindow];, essentially putting them in their own namespace.

Add sync ability

Add a way to sync the windows across different computers, maybe by using google account login or something, etc.

Check out the "TabCloud" plugin to see how it does it's syncing. It's code is available here on github too:
https://github.com/Connorhd/TabCloud

You too both have the best plugins, yours because it automatically keeps the state of the saved window updated, and TabCloud because it syncs nicely across all computers.

Sync

Syncing stored sessions to the cloud for multi-machine availability has been mentioned numerous times as a desirable feature in the extension comments. For the sake of documentation, I will hereby create an issue for it.

According to Nick, however, the problem with this request is that synchronization introduces a variety of problems which are non-trivial to resolve. For example, what is the expected synchronization result when multiple, synchronized Chrome instances share a session with the same name?

Since any reasonable synchronization implementation will likely increase complexity and sacrifice part of SWS's simplicity, this issue will be treated with low priority.

add tabs to closed windows

I often run into situations where I'd like to add one or two tabs to an existing but closed window. The workflow to follow then is to open that window, move the tabs into, and close the window again. This can be quite tedious and time/resource consuming with windows containing a lot of tabs.

I'm not really sure as to how the perfect UI should look like; something that should work and not too hard to implement would be a button or link next to each saved window in the session list (which may possibly only appear on mouse over) that says "add current tab" and stores the current tab into the window.

show number of open tabs in badge

A few people on the Chrome App Store suggested to show the number of tabs currently open in a saved window on the badge instead of the little 'v' character. I'm quite fond of the idea so I'm putting it up as a feature request.

What should he taken into account though is horizontal space limitations. I'm not sure if it's realistic but people may be using 100+ tabs at the same time. So for a certain threshold, the badge should just indicate that there are many tabs in a single window. This could be accomplished by showing something like '99+', for instance.

Reverse order of windows so most recent is on top

When the list of windows gets long, the most recent windows are below the fold. It'd be better to have them on top.

Also move the form for unsaved windows to the top, since otherwise it will scroll the window to the bottom.

Remember tab history

For each stored tab, its history should be saved and restored automatically along with the associated window.

CAN ANYBODY PLEASE HELP?!! Thank you!

Hi there, love your Simple Window Saver Chrome Extension!
Unfortunately a few days ago I did a Win 7 restore to a few days back and lost some of my extensions including Simple Window Saver that should have loaded as I've had it for at least a year..so not sure what the deal is? Is there a folder I should look for to access the Simple Window history? I'm afraid to install the Simple Window extension again so I don't overwrite my history.

Can ANYONE please help? I'd really like to be able to retrieve my windows as I had a bunch of windows saved.

Session merging

It would be nice to have a way to restore tabs of a saved session into the existing window. Conversely, being able to add a currently unmanaged set of tabs to an already existing session should prove to be similarly helpful.

Cannot open saved window

Good day, hope you're doing well! I cannot open one of my saved windows. When I click on its name on the extension list, nothing happens. Is there a way to access the links from a saved window through opening a file in the Chrome User Data folder or one of the Extension's files?

Session import/export

This would be useful to back up your sessions, transfer them to a new computer, or share them with a friend or colleague.

Support Chrome's "Name window" feature

Chrome has a "Name Window" feature (right-click on the title bar | Name Window ...).
When I have multiple windows open at once I name each window with the name of the project it relates to - which also happens to be the name I use in simple window saver. The window name appears in the windows taskbar and task switcher, making navigation much easier.

It would be great to incorporate this in Simple Window Switcher as follows:

  • Include the Chrome window name in every save, and re-apply it when opening the window.
  • When first saving a window that has a Chrome window name, use the Chrome window name as the default name in simple window switcher.

support click to focus

When having multiple sessions open, it should be possible to click on an already opened session name and have the corresponding window be brought up front, i.e., receiving the focus.

Session snapshotting

Save the current state of a window in a way that doesn't get overwritten when changes are made.

Session reordering

Allow to reorder stored sessions in the list of sessions using drag-and-drop.

Keyboard shortcuts

It'd be nice to add some simple keyboard shortcuts to save / open windows.

Can't access History for Simple Window Saver?

Hi there, love your Simple Window Saver Chrome Extension!
Unfortunately a few days ago I did a Win 7 restore to a few days back and lost some of my extensions including Simple Window Saver that should have loaded as I've had it for at least a year..so not sure what the deal is? Is there a folder I should look for to access the Simple Window history? I'm afraid to install the Simple Window extension again so I don't overwrite my history.

Can ANYONE please help? I'd really like to be able to retrieve my windows as I had a bunch of windows saved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.