-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
128 lines (122 loc) · 4.54 KB
/
Copy pathindex.html
File metadata and controls
128 lines (122 loc) · 4.54 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
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Key Generator</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: rgba(52, 152, 219, 0.6); /* Blue transparent background */
background-image: url('https://github.com/localscripts/Wave-Keygen/blob/main/milkyway-night-sky-star.jpg?raw=true');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin: 0;
padding: 0;
overflow: hidden;
}
.container {
text-align: center;
padding: 20px;
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
.key {
font-size: 24px;
margin: 20px 0;
padding: 10px;
border: 1px solid #ccc;
background-color: #fafafa;
text-transform: uppercase; /* Ensure text is uppercase */
user-select: none; /* Prevent text selection */
cursor: pointer; /* Show pointer cursor */
}
.key:hover {
background-color: #f0f0f0; /* Light background on hover */
}
.loader {
border: 4px solid rgba(255, 255, 255, 0.8); /* Semi-transparent white */
border-top: 4px solid #3498db; /* Blue */
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background-color: rgba(52, 152, 219, 0.8); /* Blue transparent */
color: #fff;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: rgba(41, 128, 185, 0.8); /* Darker shade on hover */
}
.open-raw {
font-size: 14px;
margin-top: 10px;
}
.open-raw a {
color: #3498db;
text-decoration: none;
}
.open-raw a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>Wave Key Generator</h1>
<div id="loader" class="loader" style="display: none;"></div>
<div id="keys-container">
<!-- Keys will be appended here -->
</div>
<button onclick="generateKeys(10)">Send Requests</button>
<div class="open-raw">
<a id="openRawLink" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley" target="_blank" rel="noopener noreferrer">[ OPEN RAW ]</a>
</div>
</div>
<script>
function generateKeys(count) {
document.getElementById('loader').style.display = 'inline-block'; // Show loader
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
let keysHTML = '';
for (let k = 0; k < count; k++) {
let key = '';
for (let i = 0; i < 4; i++) {
for (let j = 0; j < 4; j++) {
key += chars.charAt(Math.floor(Math.random() * chars.length));
}
if (i < 3) key += '-';
}
keysHTML += `<div class="key" onclick="redirectToRickAstley()">${key}</div>`;
}
setTimeout(() => {
document.getElementById('loader').style.display = 'none'; // Hide loader
document.getElementById('keys-container').innerHTML = keysHTML; // Update keys
}, 1500); // Simulate delay for demonstration purposes (1.5 seconds)
// Update "OPEN RAW" link
const openRawLink = document.getElementById('openRawLink');
openRawLink.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley";
}
function redirectToRickAstley() {
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley";
}
</script>
</body>
</html>