I have a website set up on wordpress. It runs on a computer in a gallery, available for all visitors to get more information. The main page, the home page, is the portal to everything. From there, you can get into specific sections (pages, not posts) and leave comments there.
I need a way to force refresh from the pages to the home page, in the case that a person clicked on a specific page but registered no activity within X seconds. Let's say he started writing a comment, but he apparently stopped and left the computer. I'd like it to refresh back to the main page, for the other visitors of the gallery. How can that be achieved?
If there's a way to pop up an alert, warning that person (just in case he's still there, just wandered off...), that would be sublime.
Thank you in advance :)