-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
130 lines (114 loc) · 2.8 KB
/
Copy pathpopup.html
File metadata and controls
130 lines (114 loc) · 2.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
width: 320px;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 14px;
margin: 0;
}
.header {
display: flex;
align-items: center;
margin-bottom: 16px;
}
.icon {
width: 32px;
height: 32px;
margin-right: 12px;
background: linear-gradient(135deg, #4285f4, #34a853);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 16px;
}
h1 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #202124;
}
.status {
display: flex;
align-items: center;
margin-bottom: 16px;
padding: 12px;
border-radius: 8px;
font-weight: 500;
}
.status.active {
background-color: #e8f5e8;
color: #137333;
border: 1px solid #ceead6;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 8px;
background-color: #137333;
}
.description {
color: #5f6368;
line-height: 1.4;
margin-bottom: 16px;
}
.features {
list-style: none;
padding: 0;
margin: 0 0 16px 0;
}
.features li {
padding: 6px 0;
color: #5f6368;
position: relative;
padding-left: 20px;
}
.features li::before {
content: "✓";
position: absolute;
left: 0;
color: #34a853;
font-weight: bold;
}
.footer {
border-top: 1px solid #e0e0e0;
padding-top: 12px;
margin-top: 16px;
font-size: 12px;
color: #5f6368;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<div class="icon">R</div>
<h1>Translate Crash Fix</h1>
</div>
<div id="status" class="status">
<div class="status-dot"></div>
<span id="status-text">Extension is active and working</span>
</div>
<div class="description">
This extension fixes compatibility issues between Google Translate and React/modern JavaScript frameworks by preventing DOM manipulation conflicts.
</div>
<ul class="features">
<li>Prevents React crashes when Google Translate is active</li>
<li>Handles DOM manipulation errors gracefully</li>
<li>Preserves text node relationships</li>
<li>Works with all modern JavaScript frameworks</li>
<li>No configuration required</li>
</ul>
<div class="footer">
Version 1.1.0
</div>
<script src="popup.js"></script>
</body>
</html>