-
Notifications
You must be signed in to change notification settings - Fork 207
/
popup.html
152 lines (137 loc) · 5.12 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
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
<!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>Pornhub视频下载插件</title>
<style>
ul {
list-style: none;
width: 300px;
display: flex;
flex-wrap: wrap;
align-content: space-around
}
ul li {
width: 450px;
height: 40px;
display: flex;
justify-content: space-between;
}
ul li label{
margin-left: -25px;
}
ul li span {
color: cornflowerblue
}
.button {
display: inline-block;
padding: 1em 2em;
background-color: #f1c40f;
color: #fff;
height: 30px;
border-radius: 4px;
border: none;
cursor: pointer;
position: relative;
line-height: 4px;
margin-top: -5px;
outline: 0;
transition: transform ease-in 0.1s, background-color ease-in 0.1s, box-shadow ease-in 0.25s;
}
.button::before {
position: absolute;
content: '';
left: -2em;
right: -2em;
top: -2em;
bottom: -2em;
pointer-events: none;
transition: ease-in-out .5s;
background-repeat: no-repeat;
background-image: radial-gradient(circle, rgb(243, 156, 18) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
/* */
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%),
radial-gradient(circle, rgb(241, 196, 15) 20%, transparent 20%);
background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%,
15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
background-position: 18% 40%, 20% 31%, 30% 30%, 40% 30%, 50% 30%, 57% 30%, 65% 30%, 80% 32%, 15% 60%,
83% 60%, 18% 70%, 25% 70%, 41% 70%, 50% 70%, 64% 70%, 80% 71%;
animation: bubbles ease-in-out .75s forwards;
}
.button:active {
transform: scale(0.95);
background-color: f1c40f;
box-shadow: 0 2px 25px rgba(243, 156, 18, 0.5);
}
.button:active::before {
animation: none;
background-size: 0;
}
@keyframes bubbles {
0% {
background-position: 18% 40%, 20% 31%, 30% 30%, 40% 30%, 50% 30%, 57% 30%, 65% 30%, 80% 32%, 15% 60%,
83% 60%, 18% 70%, 25% 70%, 41% 70%, 50% 70%, 64% 70%, 80% 71%;
}
50% {
background-position: 10% 44%, 0% 20%, 15% 5%, 30% 0%, 42% 0%, 62% -2%, 75% 0%, 95% -2%, 0% 80%,
95% 55%, 7% 100%, 24% 100%, 41% 100%, 55% 95%, 68% 96%, 95% 100%;
}
100% {
background-position: 5% 44%, -5% 20%, 7% 5%, 23% 0%, 37% 0, 58% -2%, 80% 0%, 100% -2%, -5% 80%,
100% 55%, 2% 100%, 23% 100%, 42% 100%, 60% 95%, 70% 96%, 100% 100%;
background-size: 0% 0%;
}
}
dialog {
background-color: #fdf6ec;
border-color: #faecd8;
color: #e6a23c;
top: 150px;
width: 250px;
border-radius: 10px;
text-align: center;
border-width: 1px;
}
@keyframes opacity {
0%{
opacity: 0;
}
100%{
opacity: 1;
}
}
</style>
</head>
<body>
<center>
<h2>Pornhub视频下载插件v2.1</h2>
</center>
<center>Author By: <a href="https://zgao.top" target='_blank'>Zgao</a></center>
<div class="box">
<ul>
</ul>
</div>
<dialog id="showDialog">
<div>已复制链接至剪贴板</div>
</dialog>
<dialog id="showDialog1">
<div>正在创建下载,请勿重复点击</div>
</dialog>
</body>
<script src="popup.js"></script>
</html>