HomeHelpPrevent Tabs from Freezing or Crashing in Chrome and Edge While Running Worker

Prevent Tabs from Freezing or Crashing in Chrome and Edge While Running Worker

Worker
  • 29 Sep 24
Prevent Tabs from Freezing or Crashing in Chrome and Edge While Running Worker

If you're using the Worker feature from ViewGrip to automatically play YouTube videos, you may encounter issues where the tabs freeze or crash when running in the background. This problem occurs due to a hidden feature in both Chrome and Edge that pauses inactive tabs to save system resources, causing interruptions for processes like Worker.

To solve this issue and keep your tabs running smoothly, follow these steps to disable a hidden Chrome setting.

Steps to Prevent Tabs from Freezing or Crashing While Running Worker

  1. Open Google Chrome or Microsoft Edge on your computer.
  2. Copy this address and paste it into address bar: chrome://flags/#calculate-native-win-occlusion
  3. Press Enter to open the Chrome Flags settings page.
  4. Find the option labeled "Calculate window occlusion on Windows".
  5. Set it from Default or Enabled to Disabled.
  6. Click Relaunch at the bottom of the page to restart Chrome and apply the changes.

Once restarts, your tabs will no longer freeze or crash while running Worker, even when the tabs are hidden behind other windows or in the background.

What to Do If the "Calculate window occlusion" Option Is Missing?

In some cases, you may not find the "Calculate window occlusion" option in Chrome Flags. This happens because some experimental flags are hidden or marked as "expired." To reveal them:

  1. Go to chrome://flags in your browser.
  2. Look for options starting with "Temporarily unexpire Mxx flags", where Mxx refers to your browser's milestone version (e.g., M130).
  3. Set all Temporarily unexpire Mxx flags to Enabled.
  4. Click Relaunch to restart Chrome.
  5. After restarting, repeat steps 2–5 above to locate the "Calculate window occlusion on Windows" option.

Conclusion

By disabling this hidden setting, you can prevent your tabs from freezing or crashing in Chrome or Edge while using the Worker feature. If the occlusion option is not initially visible, enabling Temporarily unexpire Mxx flags can reveal it. This ensures smooth video playback and uninterrupted functionality while using ViewGrip.