Reputation: 1662
Is there a way to programatically:
from an extension.
In this answer they mention a method that can be used inside chrome://flags
tab. I was thinking maybe I can automatize that if Chrome permits it.
But first, I want to check if the flag's value differs from my intended value, so a silent get
method would be helpful.
Specifically, it's the Throttle expensive background timers flag:
chrome://flags/#expensive-background-timer-throttling
Another solution would be if I could disable throttling for a specific tab.
Upvotes: 4
Views: 5078
Reputation: 1
Launch the instance of Chrome, Chromium with the specific flags set. You can create several different launchers for the different setting that you want applied to the instance. Setting flags at an instance of running Chrome might not apply the set flags, even where a new instance of Chrome is launched with flags set pointing to the same configuration directory where the running instance of Chrome points. If the requirement is to launch multiple instances of Chrome with different flags set create a different configuration directory for each prospective instance, for example, using --user-data-dir
flag set to the unique local directory used for each unique instance of Chrome or Chromium, see Read local XML with JS.
Upvotes: 0