-
Notifications
You must be signed in to change notification settings - Fork 0
/
quit.html
75 lines (59 loc) · 2.27 KB
/
quit.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Visualization Insights</title>
<!-- Bootstrap Core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/custom.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Custom JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/timeme.js"></script>
<!-- <script src="https://d3js.org/d3.v4.min.js"></script> -->
<script type="text/javascript">
var urlParams = new URLSearchParams(window.location.search);
var prolific_PID = urlParams.get('PROLIFIC_PID');
var session_ID = urlParams.get('SESSION_ID');
TimeMe.initialize({
currentPageName: "quit", // current page
idleTimeoutInSeconds: 120 // stop recording time due to inactivity
});
</script>
</head>
<body>
<div class = "row">
<div class="container">
<div class="col-sm-8 col-sm-offset-2">
<h1>Exit page</h1>
<p>We are sorry to inform you that you have failed one of the attention checks.</p>
<p>Thank you for your interests in our study!</p>
</div>
</div>
</div>
</body>
<script type="text/javascript">
// var queryURL = 'https://w3drv4o3cl.execute-api.us-east-2.amazonaws.com/prod/condition_counter?user=old&PROLIFIC_PID='+prolific_PID+'';
// $.get(queryURL, function(data, status) {
// uuid = data;
// console.log(uuid);
// $("p#mturk-code").text(uuid);
// });
// $("div#submit-final-btn").on('click', acceptUserFinal);
//
// function acceptUserFinal() {
// window.location.href = 'https://app.prolific.co/submissions/complete?cc='+uuid+'';
// }
// Disabling the return to this page from the survey
$(document).ready(function() {
function disableBack() { window.history.forward() }
window.onload = disableBack();
window.onpageshow = function(evt) { if (evt.persisted) disableBack() }
});
</script>
</html>