11-08-2023, 04:38 PM
(11-07-2023, 10:59 AM)hth4nh Wrote: Hello, I'm a JS developer. When I am trying to use setTimeout, setInterval and requestAnimationFrame when the tab is inactive, it always delays until the tab is reactivated. I'm not sure if it's CentBrowser's error or not, since that's the only browser I use, but I still hope you check and fix this if it's CentBrowser's error.This is a Chromium feature since 2017.
Thank you so much.
If you want to disable this feature only in your browser, you can append startup command line
--disable-background-timer-throttling
If you want to bypass it in your JS code, please look into
https://medium.com/@devedium/how-to-fix-...632bb7ac52