-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
98 lines (84 loc) · 2.3 KB
/
popup.html
File metadata and controls
98 lines (84 loc) · 2.3 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
<!DOCTYPE html>
<html>
<head>
<title>Amazon Power Filter 1.0.0</title>
<style>
body {
width: 300px;
padding: 10px;
font-family: Arial, sans-serif;
}
.container {
display: flex;
flex-direction: column;
gap: 10px;
}
textarea {
width: 100%;
height: 100px;
resize: vertical;
}
label {
font-weight: bold;
}
.button-container {
display: flex;
gap: 10px;
}
button {
flex: 1;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
color: white;
}
#applyFilter {
background-color: #4CAF50;
}
#applyFilter:hover {
background-color: #45a049;
}
#clearFilter {
background-color: #f44336;
}
#clearFilter:hover {
background-color: #da190b;
}
.status {
margin-top: 10px;
padding: 5px;
display: none;
}
.success {
background-color: #dff0d8;
color: #3c763d;
}
.error {
background-color: #f2dede;
color: #a94442;
}
.help-text {
font-size: 12px;
color: #666;
margin-top: 4px;
}
</style>
</head>
<body>
<h3>Amazon Power Filter 1.0.0</h3>
<div class="container">
<div>
<label for="filterWords">Include/Exclude Words:</label>
<div class="help-text">Use +word to force inclusion, -word to force exclusion.<br /> Words without + or - are optional</div>
<textarea id="filterWords" placeholder="+laptop (must have) -refurbished (exclude) gaming (optional)"></textarea>
</div>
<div class="button-container">
<button id="applyFilter" title="Apply Filter (Ctrl+Enter)">Apply Filter</button>
<button id="clearFilter" title="Clear Filter (Ctrl+Delete)">Clear Filter</button>
</div>
<div id="status" class="status"></div>
</div>
<script src="popup.js"></script>
</body>
</html>