-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
156 lines (141 loc) · 4.07 KB
/
index.html
File metadata and controls
156 lines (141 loc) · 4.07 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ScriptJSON Downloads</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
background-color: #f0f4f8;
color: #333;
line-height: 1.6;
}
header {
background-color: #007BFF;
color: #fff;
padding: 30px 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header h1 {
margin: 0;
font-size: 2.5rem;
letter-spacing: 2px;
}
main {
max-width: 1000px;
margin: 20px auto;
padding: 0 20px;
}
section {
margin-bottom: 40px;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease-in-out;
}
section:hover {
transform: translateY(-10px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
h2 {
margin-top: 0;
border-bottom: 2px solid #007BFF;
padding-bottom: 10px;
font-size: 1.5rem;
color: #007BFF;
}
p {
margin: 10px 0;
font-size: 1rem;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
justify-content: center;
}
.button {
flex: 1 1 220px;
max-width: 260px;
padding: 12px 25px;
background-color: #007BFF;
color: #fff;
text-align: center;
text-decoration: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 500;
transition: background-color 0.3s, transform 0.2s;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button:hover {
background-color: #0056b3;
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
footer {
text-align: center;
padding: 15px 20px;
background-color: #007BFF;
color: #fff;
font-size: 0.9rem;
}
footer a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
footer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<h1>ScriptJSON Downloads</h1>
</header>
<main>
<section id="json-files">
<h2>Download JSON Files</h2>
<p>Click the buttons below to download the JSON files:</p>
<div class="buttons">
<button class="button" data-file="4ndyPi.json">Download 4ndyPi.json</button>
<button class="button" data-file="4ndyPhi.json">Download 4ndyPhi.json</button>
<button class="button" data-file="4ndyProfanities.json">Download 4ndyProfanities.json</button>
<button class="button" data-file="4ndyGreetings.json">Download 4ndyGreetings.json</button>
<button class="button" data-file="4ndyEuler.json">Download 4ndyEuler.json</button>
<button class="button" data-file="4ndyRandomCities.json">Download 4ndyRandomCities.json</button>
<button class="button" data-file="4ndyRandomUsernames.json">Download 4ndyRandomUsernames.json</button>
</div>
</section>
<section id="js-files">
<h2>Download JavaScript Files</h2>
<p>Click the buttons below to download the JavaScript files:</p>
<div class="buttons">
<button class="button" data-file="4ndyMath.js">Download 4ndyMath.js</button>
<button class="button" data-file="4ndyUserData.js">Download 4ndyUserData.js</button>
<button class="button" data-file="4ndyBetterIframes.js">Download 4ndyBetterIframes.js</button>
</div>
</section>
</main>
<footer>
© 2025 ScriptJSON by 4ndy64 | <a href="https://github.com/andy64lol/ScriptJSON.github.io" target="_blank">GitHub Repository</a>
</footer>
<script>
document.querySelectorAll('.button').forEach(button => {
button.addEventListener('click', function () {
const file = this.getAttribute('data-file');
const link = document.createElement('a');
link.href = file;
link.download = file;
link.click();
});
});
</script>
</body>
</html>