Some browsers, particularly on mobile, disable the window focus() functionality for existing windows. Can you detect when this will happen, without browser sniffing
focus()