-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblocked.html
108 lines (108 loc) · 2.8 KB
/
blocked.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
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Access Blocked</title>
<script src="tailwind.js"></script>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
overflow: hidden;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: background-image 1s ease-in-out;
}
.container {
background-color: rgba(255, 255, 255, 0.8);
padding: 2rem;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 80%;
}
h1 {
color: #e74c3c;
margin-bottom: 1rem;
}
p {
color: #34495e;
line-height: 1.6;
}
.block-icon {
font-size: 5rem;
margin-bottom: 1rem;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
#blockedUrl {
font-weight: bold;
word-break: break-all;
}
button {
margin-top: 1rem;
padding: 0.5rem 1rem;
font-size: 1rem;
cursor: pointer;
}
.image-credit {
position: fixed;
bottom: 10px;
right: 10px;
color: white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
font-size: 0.8rem;
}
.image-credit a {
color: white;
text-decoration: none;
}
.image-credit a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<div class="block-icon">🚫</div>
<h1 id="heading" class="text-6xl">Access Blocked</h1>
<div id="quoteContainer" class="m-16">
<p id="quoteText" class="text-2xl mb-2"></p>
<p id="quoteAuthor" class="text-xl"></p>
</div>
<p>This website has been blocked by the Website Blocker extension.</p>
<p>Blocked URL: <span id="blockedUrl"></span></p>
<p>
If you believe this is a mistake or want to unblock this site, please
adjust your settings in the extension settings.
</p>
<button
id="settingsButton"
class="bg-blue-500 text-white px-3 py-1 rounded hover:bg-blue-600 mt-8"
>
Adjust the settings
</button>
</div>
<div class="image-credit">
Photo provided by
<a href="https://picsum.photos" target="_blank">Lorem Picsum</a>
</div>
<script src="blocked.js"></script>
</body>
</html>