-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
225 lines (197 loc) · 7.17 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<link rel="stylesheet" href="css/popup.css" />
<html>
<body id="seofly-body">
<div id="header">
<div id="left-header">
<span id="title">SEOFLY</span>
</div>
<div id="right-header">
<span>
<a href="https://theritikchoure.github.io/seofly-doc/" target="_blank" id="generate_report">
Official Website
</a>
</span>
</div>
</div>
<div id="tagline">
Feel Good With Growth
</div>
<div>
<img src="assets/logo.png" alt="SEOFLY-logo" id="logo"/>
</div>
<div id="report-btn">Generate Report</div>
<div id="main-wrapper" style="display: none">
<h2 id="base-url"></h2>
<!-- Score Card -->
<div class="card">
<h3 id="score-title" class="card-title">Score Card</h3>
<div class="row score-row">
<div class="col-2" id="site-domain-name">Domain</div>
<div class="col-2" id="site-domain"></div>
</div>
<div class="row score-row">
<div class="col-2" id="report-gen-time">Current Time</div>
<div class="col-2" id="current-date"></div>
</div>
<div id="myProgress">
<div id="myBar">0%</div>
</div>
</div>
<!-- Site Title -->
<div class="card">
<div>
<div class="col-6 card-title">Title</div>
<div class="col-6 card-value" id="site-title"></div>
<div class="col-6 card-value" id="title-length"></div>
</div>
</div>
<!-- Site Meta Description -->
<div class="card">
<div>
<div class="col-6 card-title">Meta Description :</div>
<div class="col-6 card-value" id="site-description"></div>
<div class="col-6 card-value" id="description-length"></div>
</div>
</div>
<!-- Headings -->
<div class="card">
<div>
<div class="col-6 card-title">Headings :</div>
<div class="col-6 card-value" id="site-headings"></div>
<div class="col-6 card-value" >
<div class="row">
<div class="col-2">H1 : <span id="heading-h1"></span></div>
<div class="col-2">H2 : <span id="heading-h2"></span></div>
<div class="col-2">H3 : <span id="heading-h3"></span></div>
<div class="col-2">H4 : <span id="heading-h4"></span></div>
<div class="col-2">H5 : <span id="heading-h5"></span></div>
<div class="col-2">H6 : <span id="heading-h6"></span></div>
</div>
</div>
</div>
</div>
<!-- Alt Text Images -->
<div class="card">
<div>
<div class="col-6 card-title">Alt Text in Images :</div>
<div class="col-6 card-value">We found
<span id="site-alt-text"></span> images on the web page.
</div>
<div class="col-6 card-value" id="images-withuot-alt"></div>
</div>
</div>
<!-- XML Sitemap -->
<div class="card">
<div>
<div class="col-6 card-title">XML Sitemap :</div>
<div class="col-6 card-value" id="site-xml"></div>
</div>
</div>
<!-- Robots Txt -->
<div class="card">
<div>
<div class="col-6 card-title">Robots.txt :</div>
<div class="col-6 card-value" id="site-robots"></div>
</div>
</div>
<!-- Iframe -->
<div class="card">
<div>
<div class="col-6 card-title">Iframe :</div>
<div class="col-6 card-value" id="site-iframe"></div>
</div>
</div>
<!-- Favicon -->
<div class="card">
<div>
<div class="col-6 card-title">Favicon :</div>
<div class="col-6 card-value" id="site-favicon"></div>
</div>
</div>
<!-- Doctype -->
<div class="card">
<div>
<div class="col-6 card-title">Doctype :</div>
<div class="col-6 card-value" id="site-doctype"></div>
</div>
</div>
<!-- Encoding -->
<div class="card">
<div>
<div class="col-6 card-title">Encoding :</div>
<div class="col-6 card-value" id="site-encoding"></div>
</div>
</div>
<!-- Open Graph Tags -->
<div class="card">
<div>
<div class="col-6 card-title">Open Graph Tags :</div>
<div class="col-6 card-value" id="site-og"></div>
</div>
</div>
<!-- Canonical Tag -->
<div class="card">
<div>
<div class="col-6 card-title">Canonicalization URL :</div>
<div class="col-6 card-value" id="site-canonical"></div>
</div>
</div>
<!-- No index Tag -->
<div class="card">
<div>
<div class="col-6 card-title">No Index Tag :</div>
<div class="col-6 card-value" id="site-noindex"></div>
</div>
</div>
<!-- SSL Certificate -->
<div class="card">
<div>
<div class="col-6 card-title">SSL Enabled :</div>
<div class="col-6 card-value" id="site-ssl"></div>
</div>
</div>
<!-- Number of Resources -->
<div class="card">
<div>
<div class="col-6 card-title">Number of Resources :</div>
<div class="col-6 card-value" id="site-resources">This check displays the total number of files that need to be retrieved from web servers to load your page. </div>
<div class="col-6 card-value" >
<div class="row">
<div class="col-2">CSS Files : <span id="resource-css"></span></div>
<div class="col-2">JavaScript Files : <span id="resource-js"></span></div>
</div>
</div>
</div>
</div>
<!-- Score Card -->
<div class="card">
<h3 id="score-title" class="card-title">Performance Matrix</h3>
<div class="row score-row">
<div class="col-2 perf-col">Dom Completed : <span id="performance-dom-completed"></span></div>
<div class="col-2 perf-col">Connect Time : <span id="performance-connect-time"></span></div>
</div>
<div class="row score-row">
<div class="col-2 perf-col">Dom Content Event : <span id="performance-dom-content"></span></div>
<div class="col-2 perf-col">Response Time : <span id="performance-response-time"></span></div>
</div>
<div class="row score-row">
<div class="col-2 perf-col">Unload Event : <span id="performance-unload-event"></span></div>
<div class="col-2 perf-col">Dom Interactive : <span id="performance-dom-interactive"></span></div>
</div>
<div class="row score-row">
<div class="col-2 perf-col">Redirect Time : <span id="performance-redirect-time"></span></div>
</div>
</div>
</div>
<div id="footer">
<div class="left-footer">
<p>SEOFLY - On Page SEO Extension</p>
</div>
<div class="right-footer">
<p>Made by Ritik</p>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>