0

When chrome opens an A website and immediately switches to another tab, the resources of the A website will be optimized by chrome, including iframe loading, images loading, timer optimization, request optimization, etc.

I want to know how to turn off this optimization because I am doing a test-like job and he needs to open multiple tabs at the same time. However, we found that the tab resource in the inactive state is limited.

The range I can do is to increase the chrome startup parameters, call the chrome extension api, use chrome remote interface

I am trying to use the --enable-lazy-frame-loading startup parameter, And give the iframe a loading = "eager" but it doesn't work.

The problem caused:

  1. Iframe will not load under inactive tab
  2. The timer is not accurate
  3. There may be other issues
Black-Hole
  • 893
  • 8
  • 20
  • Try setting `chrome://flags/#expensive-background-timer-throttling` to "Disabled" as well as other flags that show up when searching for "timer" or "background" or "throttle". – wOxxOm Jul 25 '19 at 06:02
  • I tried it, but it didn't work. – Black-Hole Jul 25 '19 at 08:36

0 Answers0