JavaScript - Keystroke Dynamics code

In Progress

Need javascript to do keystroke dynamics ([url removed, login to view]) which at a high level is measuring keystroke timings both amount of time the key is held (dwell time) and timing between keystrokes (flight time). This can be done with the keyup & keydown events. I have sample code I can send along, just ask. The code is working but I need clean code from scratch.

Here's what I need:

1) JS code that lets me call a configuration function that specifies which form fields on the current page should be watched for keystrokes.

2) The configuration function then registers event handlers for each form field for keydown and keyup (Example: [url removed, login to view]). I could do this in the original web site code but want minimal work for the user.

3) Hidden elements are created for each field to store keystroke dynamic data, something similar to below. This is so the key data can be passed to the back end.

for (var a in [url removed, login to view]) {

var b = [url removed, login to view]("input");

[url removed, login to view]("type", "hidden");

[url removed, login to view]("name", [url removed, login to view]([url removed, login to view][a]));

[url removed, login to view]("id", "keydata_" + [url removed, login to view]([url removed, login to view][a]));

[url removed, login to view](b, [url removed, login to view][a]);

[url removed, login to view]([url removed, login to view][a], "blur", [url removed, login to view]);

[url removed, login to view][a].onkeydown = [url removed, login to view];

[url removed, login to view][a].onkeyup = [url removed, login to view]

4) Special keys must be handled (Right Shift, Left Shift, Right CTRL, Left CTRL, Right ALT, Left ALT, TAB, ENTER, BACKSPACE, DELETE, CAPSLOCK, and the arrow keys)

5) Data passed consists of timestamp (have code sample), mobile browser flag (have code sample), the keystroke timing data for the field. Each field will send this data.

As I said I have working code, so you can work from that or start from scratch or mix and match.

Skills: Javascript

See more: javascript keystroke, keystroke javascript browser, keystroke dynamics, keystroke dynamics javascript, javascript current keystroke, javascript send keystroke, start a wikipedia page, dynamics form, code org 5 b, code org 5 a, code org 1, sample code, keystroke, kd, dwell time, clean code, event javascript, javascript function timing, html mobile document, code wiki, javascript can work, dynamic javascript form, amount code, javascript dynamic page, javascript user type

About the Employer:
( 39 reviews ) Sinking Spring, United States

Project ID: #4875873

Awarded to:


I can happily do everything you have asked for from scratch, or integrate existing code as necessary, whichever you'd rather. I've asked for a couple of clarifications in my private message. The bid time is maxim More

$83 USD in 5 days
(0 Reviews)

9 freelancers are bidding on average $193 for this job


We can do from scratch so that we can don't leave any regression points.The existing script would be helpful to indicate how you are sending the data back in the hidden form fields.And we can use delegate events so th More

$263 USD in 3 days
(14 Reviews)

hi we could do it perfectly with accuracy, please let us know if you want any clarification. please check inbox for our previous work.

$245 USD in 13 days
(13 Reviews)

Hi javascript expert here.I would like to work on your project.thanks

$200 USD in 10 days
(30 Reviews)

Hello stockwiz, I have read your requirements and I am very confident to do this project. I guarantee COMPLETE satisfaction before payment. Please check PM for more details!

$227 USD in 4 days
(8 Reviews)

see pmb...

$144 USD in 5 days
(4 Reviews)

I'm an experienced web developer, and JS is my preffered language. I can deliver this for you, but I will need the sample code to understand better the behaviour you need. You can check my reviews to see that I delive More

$277 USD in 5 days
(1 Review)

Hi, sir. I can do this well. Please contact me, thanks

$258 USD in 3 days
(2 Reviews)

I have just finished a keystroke project which measuring the amount of time the key is held in javascript from scratch. May be I can help for this project in a short time

$155 USD in 3 days
(0 Reviews)

I'm a ninja of the javascript ;)

$111 USD in 5 days
(0 Reviews)