-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
96 lines (83 loc) · 2.43 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
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Canvas, Stay Alive!</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #1c1c1e;
color: #e0e0e0;
margin: 0;
padding: 0px;
text-align: center;
width: 200px;
border-radius: 15px;
}
h1 {
font-size: 18px;
font-weight: 500;
color: #ff7043;
margin-bottom: 15px;
}
.status {
background-color: #2c2c2e;
border: 1px solid #444;
border-radius: 10px;
padding: 8px;
margin: 16px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
margin-bottom: 15px;
}
.status p {
margin: 8px 0;
font-size: 14px;
}
.status span {
font-weight: 500;
color: #1e90ff;
}
.status .highlight {
font-size: 20px;
color: #FB2E41;
}
#manual-canvas-stay-alive-btn {
background-color: #FB2E41;
color: #fff;
border: none;
border-radius: 10px;
padding: 8px 12px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s ease;
}
#manual-canvas-stay-alive-btn:hover {
background-color: #FB2E41;
}
#manual-canvas-stay-alive-btn:focus {
outline: none;
}
.footer {
font-size: 11px;
color: #888;
margin-top: 15px;
}
html, body {
overflow: hidden;
}
</style>
</head>
<body>
<div class="status">
<p>Status: <span id="extensionStatus">Loading...</span></p>
<p>Canvas tabs: <span id="canvasTabCounter" class="highlight">0</span></p>
<button id="manual-canvas-stay-alive-btn">Stay Alive</button>
</div>
<div class="footer">
<p>Automatically keeps alive every 5 minutes</p>
</div>
<script src="popup.js"></script>
</body>
</html>