Page Visibility API

This demo shows how to deal with PageVisibility State Change and Change of Page Title Accordingly

Keep your eyes on Page Title while changing tabs.