Report question

Question: How to detect when a tab is focused or not in Chrome with Javascript?