News for hackers. Stuff that matters.
Re:How 30 seconds dropped my bounce rate by 78% by iman on Monday April 26, 2010 @09:53PM (#1296894)
The solution is to track mouse-movement/page-scrolling to check whether the user is interacting with the site.

Also, is it possible for javascript to check whether the site's tab and browser window is viewable and in the foreground?

Re:How 30 seconds dropped my bounce rate by 78% by aaronblohowiak on Monday April 26, 2010 @11:07PM (#1297082)
You can listen for the window blurring