I need to detect if the is no user activity in the system (e.g. what screensaver does) - all from a web browser.
As far as i'm aware it is not achievable using pure JavaScript. There is a library for detective idle input within a browser though: jquery-idletimer-plugin
For system idle events I'm thinking ActiveX control or SilverLight.
Has anybody done this before? Any recommendations?
UPDATE: I think a sensible solution would be to have a helper app that's running on user's computer and sends idle events to the browser. So the new question is how can i send a message to an open browser (webkit based, with my web app open) from a Windows app so that it can be picked up from JavaScript?