A Typical Web Page
This web page has a page-saver installed. If no mouse or key events happen for more than five seconds, the saver will be triggered.
The page-saver I have used here is an old classic - the old star field simulation, but the framework allows for any implementation to be used.
Sadly though it seems Netscape doesn't respond to the key events though it does catch the mouse events

Find a programming school near you