-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (111 loc) · 3.96 KB
/
index.html
File metadata and controls
118 lines (111 loc) · 3.96 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reset Key Form</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
overflow: hidden; /* Prevent scrolling */
}
video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
background: rgba(255, 255, 255, 0.85);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
input[type="text"], input[type="email"], textarea {
width: 80%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ff0000; /* Border color changed to pink */
border-radius: 5px;
font-size: 14px;
}
textarea {
resize: none;
height: 80px;
}
button {
background-color: #ff1919; /* Button color changed to pink */
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #ff0000; /* Darker pink on hover */
}
</style>
</head>
<body>
<!-- Video Background -->
<video autoplay muted loop>
<source src="your-video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="container">
<h1>Hollow reset</h1>
<input type="text" id="resetKey" placeholder="Enter your key">
<input type="email" id="email" placeholder="Enter your Full discord">
<textarea id="reason" placeholder="Reason for reset + product. (Please set DM to open so that the bot informs you of the status of the reset.)"></textarea>
<button onclick="submitResetKey()">Submit Reset Key</button>
</div>
<script>
// Prevent right-click without showing any alert or message
document.addEventListener('contextmenu', function (e) {
e.preventDefault(); // Prevent the context menu from opening
});
function submitResetKey() {
const resetKey = document.getElementById('resetKey').value;
const email = document.getElementById('email').value;
const reason = document.getElementById('reason').value;
if (!resetKey || !email || !reason) {
alert('Please fill in all fields.');
return;
}
// Webhook URL in clear text
const webhookUrl = 'https://discordapp.com/api/webhooks/1333528285937930320/jBq8b3LGaTQ2NTxc9ZqsJcZW8w2yz1YcL2ymZzoyA9MGE260Z0_6pHS1hZqefTKlAOUw';
const payload = {
content: `Reset key: ${resetKey}\nDiscord: ${email}\nReason: ${reason}`
};
fetch(webhookUrl, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => {
if (response.ok) {
alert('Reset key, email, and reason sent successfully!');
} else {
alert('Failed to send the information.');
}
})
.catch(error => {
console.error('Error:', error);
alert('An error occurred while sending the information.');
});
}
</script>
</body>
</html>