This repository has been archived by the owner on May 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
learn_more.html
179 lines (152 loc) · 7.86 KB
/
learn_more.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
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script>
window.$ = window.jQuery = require('jquery');
window.Bootstrap = require('bootstrap');
require( 'datatables.net-bs4' )();
const db = new Database('cookies.db', { verbose: console.log });
var sql = 'CREATE TABLE cookies(creation_utc INTEGER NOT NULL,host_key TEXT NOT NULL,name TEXT NOT NULL,value TEXT NOT NULL,path TEXT NOT NULL,expires_utc INTEGER NOT NULL,is_secure INTEGER NOT NULL,is_httponly INTEGER NOT NULL,last_access_utc INTEGER NOT NULL,has_expires INTEGER NOT NULL DEFAULT 1,is_persistent INTEGER NOT NULL DEFAULT 1,priority INTEGER NOT NULL DEFAULT 1,encrypted_value BLOB DEFAULT \'\',samesite INTEGER NOT NULL DEFAULT -1,UNIQUE (host_key, name, path))';
var sql2 = 'INSERT INTO cookies (creation_utc, host_key, name, value, path, expires_utc, is_secure, is_httponly, last_access_utc) VALUES (1, "hello", "hello", "hello", "hello", 1, 1, 1, 1)'
var sql3 = 'SELECT host_key, name FROM cookies'
console.log(db.exec(sql1));
console.log(db.exec(sql2));
var host_key = console.log(db.exec(sql3));
document.getElementById('message').innerHTML = host_key;
</script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/select/1.3.1/css/select.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.6.0/css/buttons.dataTables.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/select/1.3.1/js/dataTables.select.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.0/js/dataTables.buttons.min.js"></script>
<title>Hello, world!</title>
<style>
.vertScrollbar {
position: relative;
height: 800px;
overflow: auto;
}
.detail {
border-style: solid;
border-color: grey;
margin: 0em;
}
.detail p,b {
margin: 0;
padding: 0;
font-size: 30px;
}
.new{
padding: 0;
}
</style>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<div id="button">
<a class="navbar-brand" href="index.html">Cookie Monsterrr</a>
</div>
<!-- href contains a where the link goes to -->
<ul class="navbar-nav">
<!-- <li class="nav-item active">
<a class="nav-link" href="sample.html">Active</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="learn_more.html" target="_blank">Learn More</a>
</li>
<li class="nav-item">
<div id="button">
<a class="nav-link" href="analyze.html" target="_blank">Analyze</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/utk-cs/2019fall_ant-man/blob/master/README.md" target="_blank">Read Me</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li> -->
</ul>
</nav>
</head>
<body>
<!-- Page Content -->
<div class="container">
<!-- Jumbotron Header -->
<header class="jumbotron my-4">
<h3 class="display-4">So, what's in a cookie?</h3>
<p class="lead">Cookies are bits of information websites store on your computer about your browing activity. Some of these can be good, such
as keeping track of your shopping cart or remembering language preferences. <br> <br>
Unfortunately, others track your activity and sell that information for advertising purposes - sometimes for even years. Below are some of the most infamous firms tracking you online, as well as tips on how to avoid them.
</p>
<a href="#" class="btn btn-primary btn-sm">Find out more</a>
</header>
<!-- Page Features -->
<div class="row text-center">
<div class="col-lg-3 col-md-6 mb-4">
<div class="card h-75">
<img class="card-img-top" src="https://blog.hubspot.com/hubfs/image8-2.jpg" alt="">
<div class="card-body">
<h4 class="card-title">Google Analytics</h4>
<!-- <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p> -->
</div>
<div class="card-footer">
<a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage" class="btn btn-primary">Find Out More</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<div class="card h-75">
<img class="card-img-top" src="http://www.quantcast.com/wp-content/uploads/2018/01/QC-logo.png" alt="">
<div class="card-body">
<h4 class="card-title">Quantcast</h4>
<!-- <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo magni sapiente, tempore debitis beatae culpa natus architecto.</p> -->
</div>
<div class="card-footer">
<a href="https://www.quantcast.com/faq/quantcast-services/" class="btn btn-primary">Find Out More</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<div class="card h-75">
<img class="card-img-top" src="https://s3.amazonaws.com/qualtrics-www/assets/marketplace/wp-content/uploads/2019/03/Wide-adobe-analytics.png" alt="">
<div class="card-body">
<h4 class="card-title">Adobe Analytics</h4>
<!-- <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p> -->
</div>
<div class="card-footer">
<a href="#" class="btn btn-primary">Find Out More</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<div class="card h-60">
<img class="card-img-top" src="https://www.callrail.com/wp-content/upload/2016/11/KissMetrics-Page-Header.png" alt="">
<div class="card-body">
<h4 class="card-title">Kissmetrics</h4>
<!-- <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo magni sapiente, tempore debitis beatae culpa natus architecto.</p> -->
</div>
<div class="card-footer">
<a href="#" class="btn btn-primary">Find Out More</a>
</div>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
<!-- Footer -->
<!-- <footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © Your Website 2
</div>
</footer> -->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>