@Tricksyz/

goguardian-block-page

HTML, CSS, JS

This is a nice page to spoof websites so that they won't get blocked so easily. I do not have the button but if you can you can code it in.

fork
loading
Files
  • index.html
  • script.js
  • style.css
index.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<html lang="en"><head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <title>
				  
				  Website Blocked
			  </title>

    <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">
    <link href="//fonts.googleapis.com/css?family=Roboto:400,100,700,900" rel="stylesheet" type="text/css">
    <link href="assets/lock-icon.png" rel="icon" type="image/png">

    <style>
        
        html {
            height: 100%;
        }

        body {
            background-color: #3E3E3E;
            background: radial-gradient(ellipse at center, #707070 13%, #333333 100%);
            font-family: 'Roboto', sans-serif;
        }

        .blur {
            -webkit-filter: blur(10px);
            filter: blur(10px);
            opacity: 0.6;
        }

        .popspace {
            opacity: 1.0;
            position: absolute;
            top: 190px;
            left: 430px;
            height: 100%;
            width: 100%;
        }

        .pophead {
            color: #00AAD7;
            margin: 0;
            text-align: center;
            font-family: 'Roboto', sans-serif;
            font-size: 20px;
            font-weight: 100;
        }

        .pophead2 {
            color: #AFAFAF;
            padding-top: 5;
            text-align: center;
            font-family: 'Roboto', sans-serif;
            font-size: 11px;
            font-weight: 100;
        }

        .form {
            border-radius:2px;
            padding: 20px 30px;
            box-shadow: 0 0 15px;
            font-size:14px;
            font-weight: bold;
            max-width: 350px;
            margin: 20px 250px 0 35px;
            float: left;
        }

        .content {
            max-width: 760px;
            padding: 0 20px;
            margin: 30px auto;
            color: #c7c7c7;
            text-align: center;
            font-size: 24px;
            font-weight: 100;
            height: 530px;
            background-repeat: no-repeat;
            background-size: 32%;
            background-position-y: 200px;
            background-position-x: 50%;
            background-position: center center;
            background-image: url('https://cdn.glitch.com/8771f27e-b88e-49f0-84b0-728655e59a31%2Fimage.png?v=1560123830775');
        }

        .content h1 {
            color: #00AAD7;
            font-size: 60px;
            margin: 0;
            margin-bottom: -20px;
        }

        .bypassCont {
            margin-top: 40px;
        }

        .bypassCont label {
          border: 0;
          clip: rect(0 0 0 0);
          height: 1px;
          margin: -1px;
          overflow: hidden;
          padding: 0;
          position: absolute;
          width: 1px;
        }

        .content i {
            display: block;
            position: fixed;
            bottom: 0px;
            left: 0px;
            max-width: 300px;
            width: 100%;
            height: 60px;
            margin-left: auto;
            margin-right: auto;
            height: 310px;
        }

        .bypassCont i {
            display: none;
        }

        .bypassCont button.bypassfilter {
            border-radius: 4px;
            /* Bypass Button: */
            background-image: -webkit-linear-gradient(89deg, #00AAD7 0%, #2DBCE2 81%);
            background-image: linear-gradient(-1deg, #00AAD7 0%, #2DBCE2 81%);
            box-shadow: 0 1px 4px 0 rgba(0,0,0,0.38);
            border: none;
            padding: 15px;
            color: white;
            font-size: 25px;
            width: 250px;
            margin-top: 235px;
            position: relative;
            font-family: 'Roboto', sans-serif;
        }

        .bypassCont button.bypassfilter::after {
            font-size: 30px;
            position: absolute;
            content: ">";
            color: #2c5b75;
            top: 10px;
            right: 20px;
            transform:scale(1,1.5);
            -webkit-transform:scale(1,1.5);
        }

        .bypassCont button, .bypassCont input {
            margin-top: 10px;
            color: #333;
        }

        .whitelist {
            margin-top: 10px;
            font-size: 16px;
            text-decoration: underline;
            cursor: pointer;
            color: #9c9c9c;
        }

        #password {
            width: 292px;
            height: 37px;
            font-weight: 100;
            padding: 10px;
        }

        #unblockreq {
            height:130px;
            width: 290px;
            font-weight: 100;
            padding: 10px;
        }

        .but {
            background-image: linear-gradient(-1deg, #35B0D1 0%, #35B0D1 81%);
            box-shadow: 0 1px 4px 0 rgba(0,0,0,0.38);
            border: none;
            margin-left: 95;
            color: rgb(155, 213, 221);
            font-size: 16px;
            font-weight: 300;
            width: 100px;
            height: 35px;
            font-family: 'Roboto', sans-serif;
        }

        #logindiv,
        #unblockdiv {
            height: 0;
            width: 0;
        }

        .outer {
            display: table;
            position: absolute;
            height: 100%;
            width: 100%;
        }

        .middle {
            display: table-cell;
            vertical-align: middle;
        }

        .but:hover {
            color: #E1E9F0;
        }
    
        
    </style>
<style id="__web-inspector-hide-shortcut-style__" type="text/css">
.__web-inspector-hide-shortcut__, .__web-inspector-hide-shortcut__ *, .__web-inspector-hidebefore-shortcut__::before, .__web-inspector-hideafter-shortcut__::after
{
    visibility: hidden !important;
}
</style></head>

<body>
<div class="outer">
    <div class="middle">
    
    
          <div class="content">
		  <h1>
			  <strong>
				  <i class="fa fa-exclamation-triangle"></i>
				  Website Blocked
			  </strong>
		  </h1>
		  <br class="">
		  This website has been blocked by your administrator. If you need a website unblocked for educational purposes please talk to your teacher.
          </div>
    <div id="logindiv" class="popspace" style="display: none;">
        <div class="form" id="login" style="background-color: #DBDBDB;">
            <div style="padding: 10px;">
                <h3 class="pophead">Enter Password</h3>
                <p class="pophead2 passapp">All Attempts are Logged.</p>
            </div>
            <input type="password" id="password" placeholder="Password"> <br><br>
        </div>
    </div>

    <div id="unblockdiv" class="popspace" style="top:178px; display:none;">
        <div class="form" style="background-color: #DBDBDB;">
            <div style="padding: 10px;">
                <h3 class="pophead unblocktitle">Why?</h3>
                <p class="pophead2 unblockapp">Limit to 300 characters.</p>
            </div>
            <textarea type="text" id="unblockreq" placeholder="Explain"></textarea>
            <button class="btn btn-default btn-xs but submitcont" style="margin-left: 100px; margin-top: 20px;">Submit</button>
        </div>
    </div>
</div>
</div>

<script async="" src="//www.google-analytics.com/analytics.js"></script><script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-20904415-13', 'auto');
    ga('send', 'pageview');
</script>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
    $(function() {
        $('title').text($('.content h1 strong').text());
    });
</script>


</body></html>
result
console