-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (37 loc) · 932 Bytes
/
Copy pathindex.html
File metadata and controls
39 lines (37 loc) · 932 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Secure Download</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 50px;
}
input, button {
padding: 10px;
font-size: 16px;
margin-top: 10px;
}
</style>
</head>
<body>
<h2>Enter the Secret Code to Download</h2>
<input type="password" id="codeInput" placeholder="Enter secret code" />
<br>
<button onclick="checkCode()">Download</button>
<script>
function checkCode() {
const correctCode = "atr72?.";
const input = document.getElementById("codeInput").value;
if (input === correctCode) {
const driveURL = "https://drive.google.com/uc?export=download&id=1kVXaMJt_ZXvZRiKXN4cN1W";
window.open(driveURL, "_blank");
} else {
alert("Incorrect code. Please try again.");
}
}
</script>
</body>
</html>