-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
86 lines (86 loc) · 1.93 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
<!DOCTYPE html>
<html>
<head>
<title>Tab Sorter</title>
<style>
body {
width: 300px;
padding: 20px;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
button {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: none;
border-radius: 5px;
font-size: 14px;
font-weight: bold;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
#sortTabs {
background-color: #4285F4;
}
#sortTabs:hover {
background-color: #3367D6;
}
#groupAllTabs {
background-color: #34A853;
}
#groupAllTabs:hover {
background-color: #2E8B57;
}
#removeDuplicates {
background-color: #EA4335;
}
#removeDuplicates:hover {
background-color: #C53929;
}
#clearBrowsingData {
background-color: #FF9900;
}
#clearBrowsingData:hover {
background-color: #CC7A00;
}
#showDomainBookmarks {
background-color: #9C27B0;
}
#showDomainBookmarks:hover {
background-color: #7B1FA2;
}
#bookmarksContainer {
margin-top: 20px;
max-height: 200px;
overflow-y: auto;
background-color: white;
padding: 10px;
border-radius: 5px;
}
#bookmarksContainer h3 {
margin-top: 0;
}
#bookmarksContainer ul {
padding-left: 20px;
}
#bookmarksContainer a {
color: #4285F4;
text-decoration: none;
}
#bookmarksContainer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<button id="sortTabs">Sort Tabs by Domain</button>
<button id="groupAllTabs">Group All Tabs</button>
<button id="removeDuplicates">Remove Duplicates</button>
<button id="clearBrowsingData">Clear Browsing Data</button>
<button id="showDomainBookmarks">Show Domain Bookmarks</button>
<div id="bookmarksContainer"></div>
<script src="popup.js"></script>
</body>
</html>