-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
66 lines (66 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<title>Webpage Classifier</title>
<script src="popup.js" defer></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 10px;
}
button {
padding: 10px 20px;
background-color: #4688f1;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #3367d6;
}
#source {
margin-top: 10px;
font-weight: bold;
color: #555;
}
#extracted-text {
margin-top: 10px;
color: #555;
max-height: 100px;
overflow: auto;
white-space: pre-wrap;
border: 1px solid #ddd;
padding: 5px;
display: none; /* Hidden by default */
}
#result {
margin-top: 10px;
font-weight: bold;
color: #333;
}
#result span {
color: #4688f1; /* Same blue as the button */
}
#responses-table {
margin-top: 20px;
display: none;
border-collapse: collapse;
width: 100%;
}
#responses-table th, #responses-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
#responses-table th {
background-color: #f4f4f4;
}
#classifyLocalButton {
background-color: #2196F3;
}
#classifyLocalButton:hover {
background-color: #1976D2;
}
</style>
</head>
</html>