Get slow when not active window

I Get slower running than the specific cycle when window is not active window.
After a half hour sometimes when I see the icon the line counter counting slow, when I select window the process get fast. Not network error, because get slow when extract data from a loaded page.
I suggest an always on top function.

It’s a Chrome issue: BringBrowserToForeground improvement to minimize ui vision windows and browser