forked from luileito/evtrack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
49 lines (38 loc) · 1.45 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<!-- Use the minified version in production sites -->
<!-- For testing you can point to: js/src/load.js -->
<script src="js/src/load.js"></script>
<script>
(function(){
// Please read js/src/trackui.js for the API and code documentation.
/*pollingEvents: "mousedown mouseup mousemove mouseover mouseout dblclick scroll",*/
TrackUI.record({
// Remember to point to save.php (or similar) to write the log files.
debug: true,
postServer: "save.php",
regularEvents: "mouseover mouseout mouseenter mousedown mouseup",
pollingEvents: "mousemove scroll",
// equals 25 fps
pollingMs: 40,
taskName: "test"
});
})();
</script>
</head>
<body class="none" style="height: 2000px; width: 2000px">
<h1 id="f" title="lorem">Lorem ipsum dolor sit amet</h1>
<p>Suspendisse sed est turpis, <em>a molestie sem</em>. Mauris aliquam nunc eget felis porta ac sagittis arcu lacinia.</p>
<h2>Sed eu eleifend metus.</h2>
<p>Curabitur eget orci nunc, <a href="#">porta vestibulum risus</a>. Nam metus quam, pretium in accumsan et, malesuada luctus nunc.</p>
<ul>
<li>Sed eu eleifend metus.</li>
<li>Sed vulputate semper mauris eget posuere.</li>
<li>Vestibulum malesuada sollicitudin aliquet.</li>
<li>In id quam non diam molestie placerat a in eros.</li>
</ul>
<p>Lorem ipsum dolor <strong>sit amet</strong>, consectetur adipiscing elit.</p>
</body>
</html>