javascript

Ways to keep setTimeout/setInterval from being paused in Edge browsers

When the edge browser goes into the background, the setTimeout timer in its web page may be suspended due to performance optimisation policies until the page regains focus again. There are two ways to avoid this. Method 1: Turn off edge efficiency mode Press Alt + F in edge browser and select Settings -> System and Performance -> Optimize Performance. You can also enter the address edge://settings/system in the address bar and enter to go directly to the settings page.