-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
63 lines (55 loc) · 2.27 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yantra Launcher Script Hub</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<script src="js/script.js?v=1.0.1" defer></script>
</head>
<style>
li {
background: #c7c7c7;
}
</style>
<body>
<header>
<h1>Yantra Launcher Script Hub</h1>
<p>An unofficial project aimed at gathering all scripts made for Yantra Launcher by the community in one place, easily accessible to everyone.</p>
<p>Please read the rule of the platform at <a href="/rules/">this page</a>.</p>
</header>
<main>
<section id="search">
<input type="text" id="searchInput" placeholder="Search for scripts..." onkeyup="filterScripts()">
</section>
<section id="script-list">
<h2>Available Scripts</h2>
<ul id="scriptUl">
</ul>
</section>
</main>
<footer>
<p>© 2024-2025 Yantra Launcher Script Hub. This is an open-source project licensed under the GNU General Public License v3.</p>
<p>To learn how to add your scripts, visit <a href="https://github.com/axolotl-git/axolotl-git.github.io">this page</a>.</p>
<p>Special thanks to GTM,Myxi and Anready</p>
</footer>
<script>
function filterScripts() {
let input = document.getElementById('searchInput').value.toLowerCase();
let ul = document.getElementById('scriptUl');
let li = ul.getElementsByTagName('li');
for (let i = 0; i < li.length; i++) {
let textValue = li[i].textContent || li[i].innerText;
if (textValue.toLowerCase().indexOf(input) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
}
</script>
</body>
</html>