-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
75 lines (70 loc) · 2.31 KB
/
index.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 name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Ugly Email Trackers</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
</head>
<body>
<div id="app" class="container">
<div class="row">
<div class="col-12 text-center py-5">
<h1 class="display-4">Ugly Email Trackers</h1>
<p class="lead">List of supported Ugly Email trackers.</p>
<a href="https://github.com/OneClickLab/ugly-email-trackers/issues/new?assignees=sonnyt&labels=tracker&template=tracker-report.md&title=%5BTRACKER%5D+" class="btn btn-primary">Suggest Pixel</a>
</div>
</div>
<div class="row">
<div class="col-8 mx-auto">
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th width="100%">Identifier</th>
</tr>
</thead>
<tbody>
<tr v-for="pixel in pixels">
<td>{{pixel.key}}</td>
<td style="word-break: break-all;">{{pixel.val}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script>
var app = new Vue({
el: '#app',
data: {
pixels: []
},
created: function() {
var fetchList = function(callback) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState === 4 && xmlhttp.status === 200) {
callback(xmlhttp.responseText);
}
};
xmlhttp.open('GET', 'https://trackers.uglyemail.com/list.txt', true);
xmlhttp.send();
};
fetchList(function(res) {
var pixels = res.split('\n').map(function(row) {
var response = row.split('@@=');
return {
key: response[0],
val: response[1]
};
});
this.pixels = pixels;
}.bind(this));
}
});
</script>
</body>
</html>