Implement page visibility config option to display notifications when page is not visible using the html5 visibility api. Note that Chrome on MacOS reports that page is visible when browser is minimized.