I am looking for a really simple piece of javascript code that I can add to an html page that senses when a user has been inactive for 30 minutes, pops up a message for 1 minute and logs the user out of a web application if the user doesn't respond to keep the applcation open.
Thanks