Zubair Zubair - 7 months ago 13
Javascript Question

How can I record a user's web session simply using the web browser?

We wish to do this for support purposes, where the user knows that the session is being recorded. The web browser will not use Flash or Java, just HTML5 and Javascript. In particular it would be good if there was some sort of DOM watcher tool which could send a recording back to a server for playback.

Answer

SO you are wanting a similar thing to tealeaf? http://www-01.ibm.com/software/info/tealeaf/

what you could do is use javascript (acceptable?) and add a whole load of events for example

body.onClick = function (e) {
    // Do something here
}

body.change = function (e) {
    // Do something here
}

would highly reccomend the "do something" is trigger your own custom event so as not to confuse the DOM too much and not get in the way of other event handlers

This page may come in useful when building your own: http://www.quirksmode.org/dom/events/index.html