-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.html
More file actions
170 lines (146 loc) · 3.84 KB
/
Copy pathpopup.html
File metadata and controls
170 lines (146 loc) · 3.84 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
width: 320px;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
color: white;
}
.header {
padding: 20px;
text-align: center;
background: rgba(0, 0, 0, 0.2);
}
.logo {
font-size: 24px;
margin-bottom: 5px;
}
.tagline {
font-size: 12px;
opacity: 0.8;
}
.stats {
padding: 20px;
}
.stat-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child {
border-bottom: none;
}
.stat-label {
font-size: 14px;
}
.stat-value {
font-size: 18px;
font-weight: bold;
color: #C8E6C9;
}
.status {
padding: 15px 20px;
background: rgba(0, 0, 0, 0.2);
text-align: center;
font-size: 14px;
}
.status.active {
background: rgba(76, 175, 80, 0.2);
}
.controls {
padding: 15px 20px;
text-align: center;
}
.btn {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
padding: 8px 16px;
border-radius: 20px;
cursor: pointer;
font-size: 12px;
margin: 0 5px;
transition: all 0.2s;
}
.btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.threat-indicator {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 8px;
}
.threat-low { background: #81C784; }
.threat-medium { background: #FFA726; }
.threat-high { background: #E57373; }
</style>
</head>
<body>
<div class="header">
<div class="logo">🛡️ BogaGuard</div>
<div class="tagline">Phishing Protection Active</div>
</div>
<div class="stats">
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-high"></span>
Threats Blocked
</span>
<span class="stat-value" id="threats-blocked">0</span>
</div>
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-medium"></span>
Links Scanned
</span>
<span class="stat-value" id="links-scanned">0</span>
</div>
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-low"></span>
Sessions Protected
</span>
<span class="stat-value" id="sessions-protected">0</span>
</div>
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-medium"></span>
AI Patterns Learned
</span>
<span class="stat-value" id="ml-patterns">0</span>
</div>
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-high"></span>
Redirects Blocked
</span>
<span class="stat-value" id="redirects-blocked">0</span>
</div>
<div class="stat-item">
<span class="stat-label">
<span class="threat-indicator threat-medium"></span>
Content Threats
</span>
<span class="stat-value" id="content-threats">0</span>
</div>
</div>
<div class="status active" id="status">
🤖 AI + Content Analysis + Anti-Redirect enabled
</div>
<div class="controls">
<button class="btn" id="refresh-btn">Refresh Stats</button>
<button class="btn" id="dashboard-btn">View Dashboard</button>
<button class="btn" id="settings-btn">Settings</button>
</div>
<script src="popup.js"></script>
</body>
</html>