-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
200 lines (200 loc) · 6.15 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SEO Backlink Analyzer</title>
<meta name="author" content="Takk™ Innovate Studio" />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<style>
body {
font-family: "Noto Sans", sans-serif;
width: 400px;
max-width: 400px;
margin: 0;
padding: 20px;
background-color: #15110a;
color: #ffffff;
}
.container {
background-color: #1d1511;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
padding: 20px;
}
h1 {
font-size: 24px;
color: #eca27b;
margin: 0 0 20px;
text-align: center;
}
.version {
font-size: 11px;
text-align: center;
margin: 5px 0 20px;
color: #eca27b;
}
.btn {
background-color: #c362f1;
color: #ffffff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.btn:hover {
background-color: #d6b9f9;
color: #15110a;
}
.btn i {
margin-right: 8px;
font-size: 20px;
}
.results {
margin-top: 20px;
background-color: #4b3a32;
border-radius: 4px;
padding: 15px;
max-height: 300px;
overflow-y: auto;
word-wrap: break-word;
overflow-wrap: break-word;
}
.results h2,
.results h3 {
font-size: 18px;
margin-top: 0;
margin-bottom: 10px;
display: flex;
align-items: center;
}
.results h3 {
margin-top: 30px;
}
.results ul {
padding-left: 0;
margin: 0;
list-style-type: none;
}
.results li {
margin-bottom: 10px;
display: flex;
align-items: flex-start;
}
.results li i {
flex-shrink: 0;
margin-right: 5px;
margin-top: 3px;
font-size: 16px;
}
.results p {
margin: 10px 0;
display: flex;
align-items: flex-start;
}
.results h3 .material-icons {
font-size: 20px;
}
.results .material-icons {
flex-shrink: 0;
margin-right: 5px;
font-size: 16px;
}
.text-content {
flex-grow: 1;
min-width: 0;
}
.copy-btn {
background-color: #f2b705;
color: #ffffff;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
display: flex;
align-items: center;
margin-top: 20px;
}
.copy-btn:hover {
background-color: #15c57e;
}
.copy-btn i {
margin-right: 5px;
font-size: 18px;
}
footer {
font-size: 11px;
text-align: center;
margin-top: 20px;
color: #c7ab9e;
}
a {
text-decoration: none;
font-weight: 600;
color: #ffd161;
}
a:hover {
color: #ffffff;
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
border-left-color: #15c57e;
animation: spin 1s linear infinite;
margin: 20px auto;
display: none;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<h1>SEO Backlink Analyzer</h1>
<div class="version">Version 1.0.0</div>
<button id="extract" class="btn">
<i class="material-icons">search</i>
Analyze Page
</button>
<div class="spinner" aria-label="Loading..."></div>
<div id="results" class="results" style="display: none">
<h2>Analysis Results</h2>
<div id="resultsContent"></div>
<button id="copyResults" class="copy-btn">
<i class="material-icons">content_copy</i>
Copy Results
</button>
</div>
</div>
<footer>
© Designed by
<a href="https://linkedin.com/in/hellodav">David C Cavalcante</a>
&
<a href="https://github.com/takk8is">Takk™ Innovate Studio</a>
</footer>
<script src="popup.js"></script>
</body>
</html>