E
E
exetico2020-09-23 16:38:47
JavaScript
exetico, 2020-09-23 16:38:47

How to unfreeze Google Chrome background tabs?

If you switch the active chrome tab, then the previous tab is "frozen", the scripts there start to run slowly.
How to win it?
In google answers by type, turn off the freeze and discarding flag, but now there is no freeze flag in chrome, only discarding.
What is needed is the full execution of scripts in the background tab, as in the active one, and not rewriting the code through web workers.
Or, if possible, how to prevent the right tab from freezing with chrome.
chrome://flags/#expensive-background-timer-throttling in disable doesn't help either.
Tab pinning doesn't help
Version 85.0.4183.121 (Official build), (64 bit)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dollar, 2020-09-23
@dollar

Second browser.
You can fox or also chrome, since there are a lot of them.

K
kocherman, 2020-09-23
@kocherman

Right-click on the tab title. Menu item Pin or Pin tab (something like that). The tab will move to the left corner of the browser and will be pinned permanently. These tabs don't freeze for me. However, it may depend on other factors as well.

N
Nadim Zakirov, 2020-09-23
@zkrvndm

You can disable tab freezing using the Chrome API .
Create an empty extension and place the following handlers in background.js :

chrome.tabs.onCreated.addListener(function(tab) {
    chrome.tabs.update(tab.id, {
        autoDiscardable: false
    });
});

chrome.tabs.onReplaced.addListener(function(tabId) {
    chrome.tabs.update(tabId, {
        autoDiscardable: false
    });
});

chrome.runtime.onInstalled.addListener(function(details) {
    chrome.tabs.query({}, function(tabs) {
        tabs.forEach(function(tab) {
            chrome.tabs.update(tab.id, {
                autoDiscardable: false
            });
        });
    });
});

It also makes sense to disable the option:
chrome://flags/#enable-heavy-ad-intervention
It is responsible for blocking frames that create too much load according to Google and fuck that there are sites in nature in which all the main functionality is provided through frames.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question