some fuckery to get dev branch working
This commit is contained in:
70
index.html
Normal file → Executable file
70
index.html
Normal file → Executable file
@ -32,87 +32,18 @@
|
||||
]
|
||||
}
|
||||
</script>
|
||||
<<<<<<< HEAD
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
||||
<script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
|
||||
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.min.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/widget.js"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
fetch("/data/quotes.json")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
const randomQuote = data[Math.floor(Math.random() * data.length)];
|
||||
|
||||
if (randomQuote.includes("OGNUM1") && randomQuote.includes("SQRTNUM1")) {
|
||||
const ognum = Math.floor(Math.random() * 3000);
|
||||
randomQuote = `the square root of ${ognum} is ${Math.sqrt(ognum)}`;
|
||||
} else if (randomQuote.includes("CURRENTURL")) {
|
||||
randomQuote = window.location.hostname;
|
||||
}
|
||||
|
||||
document.getElementById("randomquote").innerHTML = randomQuote;
|
||||
})
|
||||
.catch((error) => console.error("Error loading quotes:", error));
|
||||
});
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
=======
|
||||
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="/css/main.css" />
|
||||
<link rel="stylesheet" href="/css/sidebar.css" />
|
||||
>>>>>>> c2041b6 (first dev commit)
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
||||
<!-- seo + other things -->
|
||||
<title>Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563" crossorigin="anonymous"></script>
|
||||
<<<<<<< HEAD
|
||||
</head>
|
||||
<alerts> </alerts>
|
||||
<body id="noscroll">
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html" title="Games (Unblocked)">Games</a>
|
||||
<a href="/apps.html">Apps</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a id="blank" href="#">Open Blank</a>
|
||||
<a href="/u/" class="usericon"><img src="/img/user.svg" /></a>
|
||||
</header>
|
||||
<main id="main" class="noscroll">
|
||||
<b style="font-weight: 1000px"><h1 class="chan">selenite.</h1></b>
|
||||
<noscript>enable javascript if you want the games to actually load</noscript>
|
||||
<p id="randomquote">better thank me for this unblocked website</p>
|
||||
<div class="samerow">
|
||||
<div class="img-container">
|
||||
<a href="/users"><img src="img/user_index.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a href="projects.html"><img src="img/games.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="noscroll">
|
||||
<a href="gitlab.com/skysthelimit.dev/selenite">Source</a>
|
||||
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
|
||||
<a href="/suggest.html">Suggestions & Bugs</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
<a href="/support.html">Donate</a>
|
||||
<a href="/about.html">About</a>
|
||||
</footer>
|
||||
=======
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", ()=>{
|
||||
document.getElementById("iframe").addEventListener("load", () => {
|
||||
@ -158,6 +89,5 @@
|
||||
<div class="sidebar-item"><a href="#" target="/u/"><img src="/img/user.svg" /></a><div class="sidebar-item-descriptor">user profile</div></div> <!-- user -->
|
||||
<div class="sidebar-item"><a href="#" target="/settings"><img src="/img/settings.svg" /></a><div class="sidebar-item-descriptor">settings</div></div> <!-- settings -->
|
||||
</sidebar>
|
||||
>>>>>>> c2041b6 (first dev commit)
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user