Detect if Browser Tab is Active or in Background

Hi @Standroid, this topic might be useful for your use case: