-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
31 lines (31 loc) · 897 Bytes
/
popup.html
File metadata and controls
31 lines (31 loc) · 897 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Productivity Blocker</title>
<style>
body {
width: 300px;
padding: 20px;
font-family: Arial, sans-serif;
transition: background-color 0.3s, color 0.3s;
}
@media (prefers-color-scheme: dark) {
body { background-color: #121212; color: #ffffff; }
}
@media (prefers-color-scheme: light) {
body { background-color: #ffffff; color: #000000; }
}
h1 { font-size: 18px; color: #333; }
p { color: inherit; }
</style>
</head>
<body>
<h1>🚀 Productivity Blocker</h1>
<p id="popup-message">Stay focused and productive! Avoid distractions.</p>
<script>
chrome.storage.sync.get({ reminderMessage: 'Stay focused and productive! Avoid distractions.' }, (settings) => {
document.getElementById('popup-message').textContent = settings.reminderMessage;
});
</script>
</body>
</html>