-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
108 lines (102 loc) · 4.52 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>LinkedIn Filter</title>
<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">
<style>
body {
min-width: 280px;
min-height: 100vh;
}
</style>
</head>
<body>
<content>
<div class="py-3">
<div class="container col-11">
<h3 class="h5 mb-3 mt-1">LinkedIn Feed Filter</h3>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="turn-onoff-switch" checked>
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="turn-onoff-switch">Enable / Disable</label>
</div>
</div>
<hr />
<div class="container col-11">
<h3 class="h5 mb-3">Options</h3>
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="distractions-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="distractions-hide-switch">Hide all distractions</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="promotion-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="promotion-hide-switch">Hide promotion post</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="activity-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="activity-hide-switch">Hide network activities</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="image-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="image-hide-switch">Hide image post</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="video-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="video-hide-switch">Hide video post</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="link-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="link-hide-switch">Hide link post</label>
</div>
</div>
<hr />
<div class="">
<div class="custom-control custom-switch">
<!-- default off -->
<input type="checkbox" class="custom-control-input" id="document-hide-switch">
<label class="custom-control-label" style="cursor:pointer; line-height: 1.4rem;" for="document-hide-switch">Hide document post</label>
</div>
</div>
<hr />
<div class="">
<div class="form-group">
<label for="keyword-hide-input">Filter by keywords</label>
<div class="d-flex">
<input type="text" class="form-control" id="keyword-hide-input" placeholder="">
<button id="add-keyword-hide-button" class="p-1 ml-2 h5 btn btn-primary">Add</button>
</div>
</div>
</div>
<hr />
<div class="">
<label>Keywords filtering</label>
<ul id='keywords-hide'></ul>
</div>
</div>
</content>
<script src="./popup.js"></script>
</body>
</html>