-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
110 lines (101 loc) · 2.16 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
109
110
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<title>YtAutoSkipAd</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
font-family: 'Roboto', Arial;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
background: white;
width: 400px;
height: 300px;
overflow-x: hidden;
}
section, section div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1, h4 {
color: black;
margin: 8px;
font-size: 2.2em;
}
button {
height: 60px;
width: 24vw;
min-width: 22vw;
max-width: 30vw;
font-size: 2em;
font-weight: bold;
background-color: dodgerblue;
border: none;
color: white;
border-radius: 4px;
padding: 0px 12px;
margin-top: 16px;
}
button:active {
transform: scale(0.98);
}
.error {
background-color: red;
border-radius: 4px;
color: white;
max-width: 60vw;
word-wrap: break-word;
padding: 12px;
font-weight: 600;
margin: 16px 8px 0px 8px;
transition: 0.5s;
opacity: 1;
}
#options {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background-color: none;
}
#options input {
margin-right: 4px;
}
#options label {
font-size: 16px;
}
</style>
</head>
<body>
<div id="container">
<section>
<div></div>
</section>
<section>
<div>
<h1>Youtube Ad Skipper</h1>
<button>Start</button>
</div>
</section>
<section>
<div id="options">
<input id="imediate-skip" type="checkbox" placeholder="imediate skip" checked />
<label for="imediate-skip">Imediate Skip</label>
</div>
</section>
</div>
<script defer type="text/javascript" src="controller.js"></script>
</body>
</html>