-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (72 loc) · 2.13 KB
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="language" content="es" />
<title>Test Google reCapcha V3</title>
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
<link rel="stylesheet" href="style.css" />
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<section class="credentials">
<fieldset>
<legend>Credentials</legend>
<label for="site-key" class="required">
<span>Site Key:</span>
<input
type="text"
name="site-key"
id="site-key"
onchange="loadRecaptchaLibrary()"
/>
</label>
<label for="secret-key" class="required">
<span>Secret Key:</span>
<input type="text" name="secret-key" id="secret-key" />
</label>
<label for="remote-ip">
<span>Remote IP:</span>
<input
type="text"
name="remote-ip"
id="remote-ip"
/>
</label>
</fieldset>
<aside>
<button onclick="reload()">Genarate token</button>
<button onclick="verify()">Site verify</button>
<button onclick="location.reload()">Reset</button>
</aside>
</section>
<section class="response">
<fieldset>
<legend>Recaptcha response</legend>
<textarea
name="g-recaptcha-response"
id="g-recaptcha-response"
readonly
></textarea>
</fieldset>
<button class="copy" onclick="copyToClipboard('g-recaptcha-response')">
Copy
</button>
</section>
<section class="response">
<fieldset>
<legend>Site Verify Response</legend>
<textarea
name="site-verify-response"
id="site-verify-response"
readonly
></textarea>
</fieldset>
<button class="copy" onclick="copyToClipboard('site-verify-response')">
Copy
</button>
</section>
<p class="credits">By Jeison Nisperuza</p>
</body>
</html>