30

How can I stop Chrome from having its tabs Sleep/Hibernate? I'm using an online timer and I really can't have it reset

This question was asked and answered in 2017 but the solution does not work anymore.

Lo Bo
  • 537
  • 1
  • 4
  • 15

3 Answers3

34

On Chrome version 83:

  • Go to chrome://discards/ (open as a URL).
  • Find the tab of interest.
  • Look at the "Auto Discardable" column, click "Toggle" to disable it.

Note that if the computer is low on RAM, keeping tab active may hurt performance and even halt the system. So make sure to close unnecessary tabs and extensions by yourself.

THN
  • 3,351
  • 3
  • 26
  • 40
  • Is there a nuke solution to stop this behavior entirely for all tabs, not having to pre-define or single select tabs and/or URLs? – Joel Karunungan Jul 23 '21 at 04:54
  • @JoelKarunungan None that I know of. Let me know if you find a solution. – THN Jul 23 '21 at 15:04
  • 4
    If you want to do it programmatically this should do it `chrome.tabs.update(tab.id, {autoDiscardable: false});` This extension does that for all tabs in your browser: https://github.com/WorldLanguages/DoNotDiscard – depsypher Aug 27 '21 at 23:09
  • @depsypher: That is interesting. The good point is that they may update the extension code when Chrome updates its API. – THN Aug 31 '21 at 02:54
  • @depsypher I found the extension in chrome web store https://chrome.google.com/webstore/detail/disable-automatic-tab-dis/dnhngfnfolbmhgealdpolmhimnoliiok?hl=en – Joel Karunungan Nov 19 '21 at 04:46
10

In newer Chrome versions (like version 109+) it's now visible in the settings:

Settings -> Performance -> Memory saver

enter image description here

Alternatively you can set exclusion rules (Always keep theses sites active) if you don't want to disable it completely.

holzkohlengrill
  • 1,044
  • 19
  • 29
  • 1
    +1 Also, the performance setting appears to be hidden in some cases. You might have to force it be visible by setting `chrome://flags/#high-efficiency-mode-available` to enabled. – Zoredache Feb 14 '23 at 19:42
1

The Disable automatic tab discarding chrome extension does it automatically for all tabs. No need to pick and choose which tab.

Henry Ecker
  • 34,399
  • 18
  • 41
  • 57
Joel Karunungan
  • 312
  • 3
  • 12