Time Spent on Page

By William Clark on Aug 19, 2009

This script displays an alert message when a page is closed, telling the visitor how long (in seconds) they have been on the page. It can also display the time on the page in the title bar.