google-chrome-extension
Listen to Keyboard and Mouse Chrome Hosted App
I am building a Chrome Hosted App, its some sort of time tracking software, which will monitor user activity, if he is working or not. The App is also supposed to listen to users keyboard strokes and mouse movements. I am not able to find any API in the documentation. Is it possible or not? Thank You
It is possible with chrome.input.ime API. This allows your extension to handle keystrokes, set the composition, and manage the candidate window. You can actually use, onKeyEvent for keyboard events or onCandidateClicked for mouse events as given examples. You may go through the documentation for more information.
Related Links
Tracking non-idle time spent on active tab in Google Chrome for a given domain
Chrome Extensions: simple message passing vs chrome connection
Change height of popup window
Google Chrome extention modifying page request
Extension reload seems to lose content script's CSS
Chrome Page Action click not working
Can a chrome extension content script detect if it is running in iframe or top-level?
Google Chrome Extension Store tester accounts-but how?
Is there a limit on number of requests to Chrome history API from an extension?
when URL does not exists it shows the alert twice? Chrome Extension Developing
how to popup my google chrome extension
Upload stuck on Chrome Extension
how do i set the browseraction popup width and height?
Using a remote script in a Google Chrome extension
Chrome extension and history.onVisited event
jQuery in Google Chrome Content Script?