I am developing an app that analyzes the typing pattern of a user. To accomplish this, I need to change the HTML of the webpage that the user is on (e.g. yahoo.com) - for all the text box items in the page, add a few javascript functions to capture the key down and key up events. So, I need to be able to add a new javascript to this existing page. The functions will package the data and send it to a remote server (e.g. myApp.com).
I need help with - 1. Inserting javascript to a HTML page 2. Add some functions that are defined in the javascript that was added above to all the textarea elements in the webpage 3. A method to transfer data from the javascript above to a remote server (i.e. not to the server that serves the original page)
Firefox plugin is preferrable but Greasemonkey script is also ok...
Thanks!