3
3
<head >
4
4
<meta charset =" utf-8" >
5
5
<meta name =" viewport" content =" width=device-width, initial-scale=1" >
6
- <title >Access to this page has been denied.</title >
7
- <link href =" https://fonts.googleapis.com/css?family=Open+Sans:300" rel =" stylesheet" >
8
- <style >
9
- html , body {
10
- margin: 0;
11
- padding: 0;
12
- font-family: ' Open Sans' , sans-serif;
13
- color: #000;
14
- }
15
-
16
- a {
17
- color: #c5c5c5;
18
- text-decoration: none;
19
- }
20
-
21
- .container {
22
- align-items: center;
23
- display: flex;
24
- flex: 1;
25
- justify-content: space-between;
26
- flex-direction: column;
27
- height: 100% ;
28
- }
29
-
30
- .container > div {
31
- width: 100% ;
32
- display: flex;
33
- justify-content: center;
34
- }
35
-
36
- .container > div > div {
37
- display: flex;
38
- width: 80% ;
39
- }
40
-
41
- .customer-logo-wrapper {
42
- padding-top: 2rem;
43
- flex-grow: 0;
44
- background-color: #fff;
45
- visibility: { { logoVisibility} } ;
46
- }
47
-
48
- .customer-logo {
49
- border-bottom: 1px solid #000;
50
- }
51
-
52
- .customer-logo > img {
53
- padding-bottom: 1rem;
54
- max-height: 50px;
55
- max-width: 100% ;
56
- }
57
-
58
- .page-title-wrapper {
59
- flex-grow: 2;
60
- }
61
-
62
- .page-title {
63
- flex-direction: column-reverse;
64
- }
65
-
66
- .content-wrapper {
67
- flex-grow: 5;
68
- }
69
-
70
- .content {
71
- flex-direction: column;
72
- }
73
-
74
- .page-footer-wrapper {
75
- align-items: center;
76
- flex-grow: 0.2;
77
- background-color: #000;
78
- color: #c5c5c5;
79
- font-size: 70% ;
80
- }
81
-
82
- @media (min-width : 768px ) {
83
- html, body {
84
- height: 100% ;
85
- }
86
- }
87
- </style >
88
- <!-- Custom CSS -->
6
+ <meta name =" description" content =" px-captcha" >
7
+ <title >Access to this page has been denied</title >
89
8
{ {#cssRef} }
90
- <link rel =" stylesheet" type =" text/css" href =" { { { cssRef} } } " / >
9
+ <link rel =" stylesheet" type =" text/css" href =" { { { cssRef} } } " >
91
10
{ {/cssRef} }
92
11
</head >
93
-
94
12
<body >
95
- <section class =" container" >
96
- { {#customLogo} }
97
- <div class =" customer-logo-wrapper" >
98
- <div class =" customer-logo" >
99
- <img src =" { { customLogo} } " alt =" Logo" />
100
- </div >
101
- </div >
102
- { {/customLogo} }
103
- <div class =" page-title-wrapper" >
104
- <div class =" page-title" >
105
- <h1 >Please verify you are a human</h1 >
106
- </div >
107
- </div >
108
- <div class =" content-wrapper" >
109
- <div class =" content" >
110
-
111
- <div id =" px-captcha" >
112
- </div >
113
- <p >
114
- Access to this page has been denied because we believe you are using automation tools to browse the
115
- website.
116
- </p >
117
- <p >
118
- This may happen as a result of the following:
119
- </p >
120
- <ul >
121
- <li >
122
- Javascript is disabled or blocked by an extension (ad blockers for example)
123
- </li >
124
- <li >
125
- Your browser does not support cookies
126
- </li >
127
- </ul >
128
- <p >
129
- Please make sure that Javascript and cookies are enabled on your browser and that you are not blocking
130
- them from loading.
131
- </p >
132
- <p >
133
- Reference ID: #{ {refId} }
134
- </p >
135
- </div >
136
- </div >
137
- <div class =" page-footer-wrapper" >
138
- <div class =" page-footer" >
139
- <p >
140
- Powered by
141
- <a href =" https://www.perimeterx.com/whywasiblocked" >PerimeterX</a >
142
- , Inc.
143
- </p >
144
- </div >
145
- </div >
146
- </section >
147
- <!-- Px -->
148
- <script >
149
- window ._pxAppId = ' { { appId} } ' ;
150
- window ._pxJsClientSrc = ' { { { jsClientSrc} } } ' ;
151
- window ._pxFirstPartyEnabled = { { firstPartyEnabled} } ;
152
- window ._pxVid = ' { { vid} } ' ;
153
- window ._pxUuid = ' { { uuid} } ' ;
154
- window ._pxHostUrl = ' { { { hostUrl} } } ' ;
155
- </script >
156
- <script >
157
- var s = document .createElement (' script' );
158
- s .src = ' { { { blockScript} } } ' ;
159
- var p = document .getElementsByTagName (' head' )[0 ];
160
- p .insertBefore (s, null );
161
- if ({ { firstPartyEnabled} } ) {
162
- s.onerror = function () {
163
- s = document.createElement(' script' );
164
- var suffixIndex = ' { { { blockScript} } } ' .indexOf(' captcha.js' );
165
- var temperedBlockScript = ' { { { blockScript} } } ' .substring(suffixIndex);
166
- s.src = ' //captcha.px-cdn.net/{ { appId} } /' + temperedBlockScript;
167
- p.parentNode.insertBefore(s, p);
13
+ <script >
14
+ window ._pxVid = ' { { vid} } ' ;
15
+ window ._pxUuid = ' { { uuid} } ' ;
16
+ window ._pxAppId = ' { { appId} } ' ;
17
+ window ._pxHostUrl = ' { { { hostUrl} } } ' ;
18
+ window ._pxCustomLogo = ' { { { customLogo} } } ' ;
19
+ window ._pxJsClientSrc = ' { { { jsClientSrc} } } ' ;
20
+ window ._pxFirstPartyEnabled = { { firstPartyEnabled} } ;
21
+ var script = document .createElement (' script' );
22
+ script .src = ' { { { blockScript} } } ' ;
23
+ document .head .appendChild (script);
24
+ script .onerror = function () {
25
+ script = document.createElement(' script' );
26
+ script.src = ' { { { altBlockScript} } } ' ;
27
+ script.onerror = window._pxDisplayErrorMessage;
28
+ document.head.appendChild(script);
168
29
} ;
169
- }
170
- </script >
171
-
172
- <!-- Custom Script -->
173
- { {#jsRef} }
174
- <script src =" { { { jsRef} } } " ></script >
175
- { {/jsRef} }
30
+ window ._pxDisplayErrorMessage = function () {
31
+ var style = document.createElement(' style' );
32
+ style.innerText = '@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);body{background-color:#fafbfc}.px-captcha-error-container{position:fixed;height:340px;background-color:#fff;font-family:Roboto,sans-serif}.px-captcha-error-header{color:#f0f1f2;font-size:29px;margin:67px 0 33px;font-weight:500;line-height:.83;text-align:center}.px-captcha-error-message{color:#f0f1f2;font-size:18px;margin:0 0 29px;line-height:1.33;text-align:center}.px-captcha-error-button{text-align:center;line-height:48px;width:253px;margin:auto;border-radius:50px;border:solid 1px #f0f1f2;font-size:20px;color:#f0f1f2}.px-captcha-error-wrapper{margin:18px 0 0}div.px-captcha-error{margin:auto;text-align:center;width:400px;height:30px;font-size:12px;background-color:#fcf0f2;color:#ce0e2d}img.px-captcha-error{margin:6px 8px -2px 0}.px-captcha-error-refid{border-top:solid 1px #f0eeee;height:27px;margin:13px 0 0;border-radius:0 0 3px 3px;background-color:#fafbfc;font-size:10px;line-height:2.5;text-align:center;color:#b1b5b8}@media (min-width:620px){.px-captcha-error-container{width:530px;top:50%;left:50%;margin-top:-170px;margin-left:-265px;border-radius:3px;box-shadow:0 2px 9px -1px rgba(0,0,0,.13)}}@media (min-width:481px) and (max-width:620px){.px-captcha-error-container{width:85%;top:50%;left:50%;margin-top:-170px;margin-left:-42.5%;border-radius:3px;box-shadow:0 2px 9px -1px rgba(0,0,0,.13)}}@media (max-width:480px){body{background-color:#fff}.px-captcha-error-header{color:#f0f1f2;font-size:29px;margin:55px 0 33px}.px-captcha-error-container{width:530px;top:50%;left:50%;margin-top:-170px;margin-left:-265px}.px-captcha-error-refid{position:fixed;width:100%;left:0;bottom:0;border-radius:0;font-size:14px;line-height:2}}@media (max-width:390px){div.px-captcha-error{font-size:10px}.px-captcha-error-refid{font-size:11px;line-height:2.5}}';
33
+ document.head.appendChild(style);
34
+ var div = document.createElement(' div' );
35
+ div.className = ' px-captcha-error-container' ;
36
+ div.innerHTML = ' <div class="px-captcha-error-header">Before we continue...</div><div class="px-captcha-error-message">Press & Hold to confirm you are<br>a human (and not a bot).</div><div class="px-captcha-error-button">Press & Hold</div><div class="px-captcha-error-wrapper"><div class="px-captcha-error"><img class="px-captcha-error" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAMAAADDGrRQAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTNYELOEGONQILd0AONwALtwEL+AAL9MFLfkJSNQGLdMJLdQJLdQGLdQKLtYFLNcELdUGLdcBL9gFL88OLdUFLNEOLglBhT4AAAAXdFJOUwC8CqgNIRgRoAS1dWWuR4RTjzgryZpYblfkcAAAAI9JREFUGNNdj+sWhCAIhAdvqGVa1r7/oy6RZ7eaH3D4ZACBIed9wlOOMtUnSrEmZ6cHa9YAIfsbCkWrdpi/c50Bk2CO9mNLdMAu03wJA3HpEnfpxbyOg6ruyx8JJi6KNstnslp1dbPd9GnqmuYq7mmcv1zjnbQw8cV0xzkqo+fX1zkjUOO7wnrInUTxJiruC3vtBNRoQQn2AAAAAElFTkSuQmCC">Please check your internet connection or disable your ad-blocker.</div></div><div class="px-captcha-error-refid">Reference ID ' + window._pxUuid + ' </div>' ;
37
+ document.body.appendChild(div);
38
+ } ;
39
+ </script >
40
+ { {#jsRef} }
41
+ <script src =" { { { jsRef} } } " ></script >
42
+ { {/jsRef} }
176
43
</body >
177
- </html >
44
+ </html >
0 commit comments