Giter Club home page Giter Club logo

Comments (13)

deanoemcke avatar deanoemcke commented on July 2, 2024 1

I am treating this issue as a feature request for being able to specify that ALL tabs are suspended automatically on browser restart regardless of whether they were suspended before closing/crashing. This is an interesting feature that I may look at implementing in the future. However it would require me to store favicons and page titles of every page ever visited in order to be able to suspend on startup without actually loading the page first. And screen capturing would be out of the question.

The extension should already have the feature that will resuspend tabs on restart that were suspended before closing/crashing. If you find this feature is not working please refer to this issue: #37

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024 1

In issue #655 @dumblob suggested using Native Lazy Tabs for implementing automatic tab discard on chrome restart.
This extension appears to be discontinued, however it is still available from this chrome extensions archive.

FYI: That extension is based on my code in The Great Discarder ;)

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024 1

I did some investigation into tab discarding on chrome start as part of my work on issue: #719.
This is not going to be an option unfortunately, which means that lazy tabs is inherently incompatible with The Great Suspender.

When a tab is discarded it can no longer be communicated with, which means for unsuspended tabs, they will no longer automatically suspend based on a timer, and for suspended tabs, if they are discarded before they can load properly they will be stuck in a 'blockhead' favicon state.

Ideally if you want The Great Suspender to operate properly, tabs will never get discarded, only ever suspended.
To try to ensure this is always the case, there is a setting called 'Instantly suspend when system memory gets very low' which will detect when a tab gets discarded, and undiscard and suspend it instead.

from thegreatsuspender.

mamartins avatar mamartins commented on July 2, 2024

+1

from thegreatsuspender.

krlmlr avatar krlmlr commented on July 2, 2024

This seems to work for me when I install the GitHub version.

EDIT: Perhaps only the tabs that were suspended before quitting Chrome, not sure.

from thegreatsuspender.

fischeversenker avatar fischeversenker commented on July 2, 2024

Also very interested in this feature!
After installing the GitHub version chrome now starts with all tabs unsuspended regardless of the tab state before closing chrome. The Chrome Web Store version at least remembered the suspended tabs.

... basically just pushing.

::edit:: just found out that the misbehaviour came from some conflict with the Chrome Web Store version i had installed in the same session. Still the much liked request for the option to have all but the last active tab suspended when opening chrome.

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024

Not sure this is really worth doing anymore? Chromes start times seem almost instant now.

from thegreatsuspender.

chikamichi avatar chikamichi commented on July 2, 2024

It still is a very relevant option. Chrome is not that fast, and many "power-users" have many, many tabs due to Chrome lacking a tabs groups manager.

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024

While suspending all tabs on browser start is not really possible (due to needing to load the tab before it can be suspended), I may investigate the possibility of 'discarding' all tabs on browser start which (if it is possible) would delay loading of the tab until it gains focus.

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024

As mentioned in issue: #263
the chrome extension footab actually achieves this by blocking tabs from starting. It might be worth checking out the source code: https://sourceforge.net/p/footab/code/ci/master/tree/src/

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 2, 2024

There are 3 alternatives I can think of for implementing this feature (suspend all tabs on browser restart).

  1. Force all tabs to suspend before chrome shuts down (in which case they'll be suspended when you restart). This is a separate feature request: #700
  2. Investigate 'blocking' the tab via chrome.webRequest a la Footab (see above)
  3. Attempt to suspend all tabs on startup, even though we may not have any favicon or page title information. This may cause the tabs to show a blockhead icon instead.

from thegreatsuspender.

dumblob avatar dumblob commented on July 2, 2024

I'm raising my hand for either of the options (2) and (3).

I find the option (1) not a good one as e.g. in case of any crash or race condition (e.g. some tabs will close faster due to some hard limits in Chromium or in the operating system) this won't work.

from thegreatsuspender.

Chris2011 avatar Chris2011 commented on July 2, 2024

This feature is an option in firefox. You can open firefox with all opened tabs, but only that one, which has the focus is loaded, the rest not. This will be awesome :)

from thegreatsuspender.

Related Issues (20)

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.