JavaScript expert need --- only expert -- 2

Job ID: 32333885

Budget: $250 – $750 USD

Only experts, don't bid if you are not. DO NOT WASTE MY TIME

I am having issues with mimicking active tab aka focus() for a tabunder we are triggering on certain websites.
biggest issue is the setTimout() which is pausing or stopping a player, which should actually run in the tabunder aka mimicked active tab

in addition Google Analytics counts those users but doesn't calculate the correct time on page I am seeing with other tracking tools.

I am looking for someone who solves this issue in Chrome, Edge and Firefox desktop

If you fix this problem in shortest time, will work for long term.
Related categories: PHP JavaScript Google Analytics HTML jQuery / Prototype