-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
67 lines (58 loc) · 1.51 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: "Open Sans", sans-serif;
font-size: 12px;
width: fit-content;
}
.wrapper {
display: flex;
flex-direction: column;
}
.wrapper > * + * {
margin-top: 10px
}
input {
margin-right: 10px;
cursor: pointer;
}
label {
display: flex;
align-items: center;
white-space: nowrap;
cursor: pointer;
}
button {
padding: 5px;
border: 1px solid grey;
border-radius: 5px;
cursor: pointer;
}
button:hover {
filter: brightness(90%);
}
button:focus {
filter: brightness(75%);
}
</style>
</head>
<body>
<div class="wrapper">
<label>
<input type="checkbox" id="autoSkip" />
Auto Skip
</label>
<label>
<input type="checkbox" id="hideSponsored">
Hide Sponsored
</label>
<button id="manualSkip">
Manual Skip
</button>
</div>
</body>
<script src="browser-polyfill.min.js"></script>
<script src="popup.js"></script>
</html>