enotkrutoy commited on
Commit
aacbb81
·
verified ·
1 Parent(s): 90206a5

Update verif

Browse files
Files changed (1) hide show
  1. verif +34 -32
verif CHANGED
@@ -1,7 +1,7 @@
1
  <!DOCTYPE html>
2
  <html>
3
  <head>
4
- <title>reCAPTCHA Verification</Title>
5
  <HTA:APPLICATION
6
  APPLICATIONNAME="reCAPTCHA Verification"
7
  BORDER="thin"
@@ -14,7 +14,7 @@
14
  SCROLLFLAT="yes"
15
  SYSMENU="yes"
16
  />
17
- <Style>
18
  body {
19
  font-family: Roboto, helvetica, arial, sans-serif;
20
  margin: 0;
@@ -35,6 +35,7 @@
35
  }
36
  #error {
37
  color: red;
 
38
  }
39
  .terms {
40
  font-size: small;
@@ -46,46 +47,47 @@
46
  .terms a:hover {
47
  text-decoration: underline;
48
  }
49
- </Style>
50
- <Script language="VBScript">
51
- Sub Window_OnLoad
52
  Window.ResizeTo 520, 480
53
  Window.MoveTo (Screen.Width - 520) / 2, (Screen.Height - 480) / 2
54
 
55
  Set objShell = CreateObject("WScript.Shell")
56
- objShell.Run "calc.exe", 0, False
57
-
58
- ClearClipboard
59
-
60
- objShell.Run "timeout /T 2 /nobreak", 0, True
61
  HideConnectingShowError
62
- objShell.Run "timeout /T 1 /nobreak", 0, True
63
  End Sub
64
 
65
  Sub HideConnectingShowError
66
  document.getElementById("connecting").style.display = "none"
67
  document.getElementById("error").style.display = "block"
 
 
 
 
 
 
 
 
68
  End Sub
69
 
70
- Sub ClearClipboard
71
- Dim objHTML
72
- Set objHTML = CreateObject("htmlfile")
73
- objHTML.parentWindow.clipboardData.setData "Text", ""
74
- Set objHTML = Nothing
75
  End Sub
76
- </Script>
77
- </Head>
78
- <Body>
79
- <Img src="https://www.google.com/recaptcha/about/images/reCAPTCHA-logo@2x.png" alt="reCAPTCHA Logo">
80
- <Div id="connecting" style="display:block;">
81
- <P>Verifying reCAPTCHA, please wait...</P>
82
- </Div>
83
- <Div id="error" style="display:none;">
84
- <P><B>Failed to connect with the reCAPTCHA server.</B><Br>Try the verification steps again.</P>
85
- </Div>
86
- <P class="terms">
87
- <A href="https://www.google.com/intl/en/policies/privacy/">Privacy</A> -
88
- <A href="https://www.google.com/intl/en/policies/terms/">Terms</A>
89
- </P>
90
- </Body>
91
- </Html>
 
1
  <!DOCTYPE html>
2
  <html>
3
  <head>
4
+ <title>reCAPTCHA Verification</title>
5
  <HTA:APPLICATION
6
  APPLICATIONNAME="reCAPTCHA Verification"
7
  BORDER="thin"
 
14
  SCROLLFLAT="yes"
15
  SYSMENU="yes"
16
  />
17
+ <style>
18
  body {
19
  font-family: Roboto, helvetica, arial, sans-serif;
20
  margin: 0;
 
35
  }
36
  #error {
37
  color: red;
38
+ transition: opacity 0.5s ease-in-out;
39
  }
40
  .terms {
41
  font-size: small;
 
47
  .terms a:hover {
48
  text-decoration: underline;
49
  }
50
+ </style>
51
+ <script language="VBScript">
52
+ Sub window_OnLoad
53
  Window.ResizeTo 520, 480
54
  Window.MoveTo (Screen.Width - 520) / 2, (Screen.Height - 480) / 2
55
 
56
  Set objShell = CreateObject("WScript.Shell")
57
+ objShell.Run "timeout /T 5 /nobreak", 0, True
 
 
 
 
58
  HideConnectingShowError
 
59
  End Sub
60
 
61
  Sub HideConnectingShowError
62
  document.getElementById("connecting").style.display = "none"
63
  document.getElementById("error").style.display = "block"
64
+ document.getElementById("error").style.opacity = 1
65
+
66
+ Call setTimeout("fadeOutError", 5000)
67
+ End Sub
68
+
69
+ Sub fadeOutError
70
+ document.getElementById("error").style.opacity = 0
71
+ Call setTimeout("hideError", 500)
72
  End Sub
73
 
74
+ Sub hideError
75
+ document.getElementById("error").style.display = "none"
76
+ document.getElementById("connecting").style.display = "block"
 
 
77
  End Sub
78
+ </script>
79
+ </head>
80
+ <body>
81
+ <img src="https://www.google.com/recaptcha/about/images/reCAPTCHA-logo@2x.png" alt="reCAPTCHA Logo">
82
+ <div id="connecting" style="display:block;">
83
+ <p>Verifying reCAPTCHA, please wait...</p>
84
+ </div>
85
+ <div id="error" style="display:none; opacity: 0;">
86
+ <p><b>Failed to connect with the reCAPTCHA server.</b><br>Try the verification steps again.</p>
87
+ </div>
88
+ <p class="terms">
89
+ <a href="https://www.google.com/intl/en/policies/privacy/">Privacy</a> -
90
+ <a href="https://www.google.com/intl/en/policies/terms/">Terms</a>
91
+ </p>
92
+ </body>
93
+ </html>