scone.accesstracking
Class TimeStoreScriptAdder
java.lang.Object
HttpEditor
scone.proxy.HtmlTokenEditor
scone.accesstracking.TimeStoreScriptAdder
public class TimeStoreScriptAdder
- extends HtmlTokenEditor
Inserts a piece of JavaScript code on top of HTML-Page, that stores the actual Time. This is
needed to calculate load time and staytime.
The following Code is inserted:
<script type="text/javascript">
<!--
var _scone_start_time=(new Date).getTime();
//-->
</script>
- Author:
- Harald Weinreich, Volkert Buchmann, Torsten Hass
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
TimeStoreScriptAdder
public TimeStoreScriptAdder()
handleRequest
public void handleRequest(SconePipe pipe)
- tries to add the JavaScript code at beginning of HTML-file:
- Overrides:
handleRequest
in class HtmlTokenEditor