-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
239 lines (205 loc) · 9.19 KB
/
Copy pathindex.html
File metadata and controls
239 lines (205 loc) · 9.19 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<title>Testing Cookie Notice</title>
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
<style>
h1 {
float: left;
margin: 0;
margin-right: 15px;
font-size: 30px;
width: 210px;
line-height: 45px;
text-align: right;
}
.alert .info {
margin: 0;
padding: 0;
margin-left: 225px;
padding-left: 15px;
border-left: 1px solid;
}
.alert {
position: absolute;
border-top: none;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
width: 900px;
z-index: 999;
}
.hide {
display: none;
}
</style>
</head>
<body>
<div class="alert hide" id="cookie_notice">
<a class="close" title="Close this message and do not show again. This will set a cookie.">close ×</a>
<h1>This site uses cookies</h1>
<div class="info">
<div class="intro">
<p>To make this site simpler, we sometimes place small data files on your computer.
These are known as cookies. Most big websites do this too.</p>
<p>They improve things by:</p>
<ul>
<li>remembering settings, so you don't have to keep re-entering them whenever you visit a new page</li>
<li>remembering information you've given (eg your login) so you don't need to keep entering it</li>
<li>measuring how you use the website so we can make sure it meets your needs</li>
</ul>
</div>
<div class="extended hide">
<p>Our cookies aren't used to identify you personally. They're just here to make the site work better for you. Indeed, you can manage and/or delete these small files as you wish.</p>
<p>To learn more about cookies and how to manage them, visit <a href="http://AboutCookies.org">AboutCookies.org</a>. Or please read on to find out more about how and where we use cookies.</p>
<h2>Disable Cookies</h2>
<p>If you do not want websites to place cookies on your computer, please click your browser icon below for details on how
to disbale cookies.</p>
<div class="well">
<ul class="thumbnails">
<li><a href="http://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences"><img src="Firefox.png" width="100px" /></a></li>
<li><a href="http://support.microsoft.com/kb/196955"><img src="IE.png" width="100px" /></a></li>
<li><a href="https://support.google.com/chrome/bin/answer.py?hl=en&answer=95647&p=cpn_cookies"><img src="Chrome.png" width="100px" /></a></li>
<li><a href="http://support.apple.com/kb/PH5042"><img src="Safari.png" width="100px" /></a></li>
<li><a href="http://www.opera.com/browser/tutorials/security/privacy/"><img src="Opera.png" width="100px" /></a></li>
</ul>
</div>
<div class="how-we-use-cookies">
<h2>How we use cookies</h2>
<p>This site uses cookies in several places – we’ve listed each of them below with more details
about why we use them and how long they will last.</p>
<h3>Enabling advance functionality</h3>
<p>In order to provide our visitors with advanced functionality such as Logging In, making purchases, saving preferences
and so on we use cookies to remember who each visitor is as they move between different pages of the site.</p>
<h4>The following cookies are set to provide advanced functionality</h4>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Typical Content</th>
<th>Expires</th>
</tr>
</thead>
<tbody>
<tr>
<td>sessionid</td>
<td>randomly generated uuid</td>
<td>when you close your browser</td>
</tr>
<tr>
<td>cookiemsg</td>
<td>dismiss</td>
<td>1 year</td>
</tr>
</tbody>
</table>
<h3>Making you more secure</h3>
<p>In order to protect our users from other sites masquerading as them and submitting requests to their
account without their knowledge we use a security cookie to protect against
Cross Site Request Forgery.
</p>
<h4>The following cookie is set to provide advanced functionality</h4>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Typical Content</th>
<th>Expires</th>
</tr>
</thead>
<tbody>
<tr>
<td>csrftoken</td>
<td>randomly generated token</td>
<td>when you close your browser</td>
</tr>
</tbody>
</table>
<h3>Measuring website usage</h3>
<p>We use Analytics to collect information about how people use this site. We do this to make sure it’s
meeting its users’ needs and to understand how we could do it better.</p>
<p>Analytics stores information about what pages you visit, how long you are on the site,
how you got here and what you click on.</p>
<h4>The following cookies are set by our Analytics providers:</h4>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Typical Content</th>
<th>Expires</th>
</tr>
</thead>
<tbody>
<tr>
<td>_utma</td>
<td>randomly generated number</td>
<td>2 years</td>
</tr>
<tr>
<td>_utmb</td>
<td>randomly generated number</td>
<td>30 minutes</td>
</tr>
<tr>
<td>_utmc</td>
<td>randomly generated number</td>
<td>when you close your browser</td>
</tr>
<tr>
<td>_utmz</td>
<td>randomly generated number and information on how the site was
reached (e.g. direct or via a link, organic search or paid
search)</td>
<td>6 months</td>
</tr>
<tr>
<td>is_returning</td>
<td>Boolean value which marks if you are a returning visitor</td>
<td>5 years</td>
</tr>
<tr>
<td>mp_…_mixpanel</td>
<td>Randomly generated uuid and information on referring domain</td>
<td>1 year</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="jquerypp.custom.js"></script>
<script>
$(window).load(function(){
if($.cookie('cookiemsg') == "dismiss") {
$("#cookie_notice").remove();
} else {
$("#cookie_notice").removeClass("hide");
$('#cookie_notice').css({
"top" : "-200px"
}).animate({
"top": 0
}, 500);
$('#cookie_notice').on({
hoverenter : function(){
$(".extended").removeClass("hide");
},
hoverleave : function(){
$(".extended").addClass("hide");
}
});
$("#cookie_notice .close").click(function(){
$.cookie('cookiemsg', 'dismiss', {expires: 365});
$('#cookie_notice').animate({
opacity : 0
}, 500, function() {
$("#cookie_notice").remove();
});
return false;
});
}
});
</script>
</body>
</html>