-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.html
More file actions
55 lines (53 loc) · 1.29 KB
/
settings.html
File metadata and controls
55 lines (53 loc) · 1.29 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Daptcha Setting</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<center>
<h1>Settings</h1>
<p id="statusI">
</p>
<p>
2Captcha API Keys (Seperate By Comma)
</p>
<textarea id="tck">id</textarea>
<br />
<p>
Anti-Captcha API Keys (Seperate By Comma)
</p>
<textarea id="ack">df</textarea>
<br />
<p>
Death By Captcha Keys (Seperate By Comma)
</p>
<textarea id="dbc">sf</textarea>
<br />
<p>
Sitekey
</p>
<input type="text" id="sk" placeholder="Sitekey" />
<br />
<p>
Site Url
</p>
<input type="text" id="surl" placeholder="Site URL e.x https://google.com" />
<br />
<br />
<input type="submit" onclick="save();" class="saveButton" />
</center>
</body>
<script src="main.js"></script>
<script src="app.js"></script>
<script>require('./app.js')</script>
<script>
var fs = require('fs')
var obj = JSON.parse(fs.readFileSync('settings.json', 'utf8'))
document.getElementById('tck').value = obj['tcks']
document.getElementById('ack').value = obj['acks']
document.getElementById('dbc').value = obj['dbks']
document.getElementById('sk').value = obj['sitekey']
document.getElementById('surl').value = obj['url']
</script>
</html>