This script can check for your activity on the site.

Hover over the text to keep active, if you have not hovered over it for 10 sec, you will be set to inactive!

(Still working on this to make it work properly)