enhancements, password system

This commit is contained in:
sky 2024-01-07 18:27:00 -05:00
parent a4bb28727d
commit 1ce23efb61
22 changed files with 316 additions and 485 deletions

View File

@ -33,21 +33,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Selenite</title> <title>Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -77,7 +63,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main" class="noscroll"> <main id="main" class="noscroll">

View File

@ -11,34 +11,17 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script> <script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script>
<!-- initialize my stuff --> <!-- initialize my stuff -->
<script src="/js/all.js"></script> <script src="/js/all.js"></script>
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<script src="/js/themes.js"></script> <script src="/js/themes.js"></script>
<script src="/js/randomquote.js"></script>
<link rel="stylesheet" href="/themes.css" /> <link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
<!-- seo + other things --> <!-- seo + other things -->
<title>Contact | Selenite</title> <title>Contact | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -52,12 +35,12 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main" class="noscroll"> <main id="main" class="noscroll">
<h1>About Selenite</h1> <h1>About Selenite</h1>
<p style="padding-left:100px;padding-right:100px;padding-bottom:20px;">Selenite is a unblocked games website with over 140 games, with a simple tab cloak. Selenite was started as a small project started on Padlet, shared between friends. After ~1 month, we transferred to a custom made website. After a few rebrandings and redesigns, we've ended up at the Selenite you know and love (unless you work at a school).</p> <p style="padding-left: 100px; padding-right: 100px; padding-bottom: 20px">Selenite is a unblocked games website with over 200 games, with a simple tab cloak. Selenite was started as a small project started on Padlet, shared between friends. After ~1 month, we transferred to a custom made website. After a few rebrandings and redesigns, we've ended up at the Selenite you know and love (unless you work at a school).</p>
<h2>Credits</h2> <h2>Credits</h2>
<p><a href="https://jquery.com/">jQuery</a>: a lot of the more technical stuff.</p> <p><a href="https://jquery.com/">jQuery</a>: a lot of the more technical stuff.</p>
@ -68,14 +51,38 @@
<h2>Developers</h2> <h2>Developers</h2>
<div class="samerow"> <div class="samerow">
<a href="https://github.com/skysthelimitt"><sl-avatar image="/img/pfps/sky.webp" label="skysthelimitt"></sl-avatar> <p>Sky</p></a> <a href="https://github.com/skysthelimitt"
<a href="https://github.com/a456pur"><sl-avatar image="/img/pfps/astra.webp" label="a456pur"></sl-avatar> <p>a456pur</p></a> ><sl-avatar image="/img/pfps/sky.webp" label="skysthelimitt"></sl-avatar>
<p>Sky</p></a
>
<a href="https://github.com/a456pur"
><sl-avatar image="/img/pfps/astra.webp" label="a456pur"></sl-avatar>
<p>a456pur</p></a
>
</div> </div>
<h2>Supporters</h2> <h2>Supporters</h2>
<div class="samerow"> <div class="samerow">
<a class="avatar" href="https://discord.com/users/731338278082445376"><sl-avatar image="/img/pfps/caidn.webp" label="Caidn"></sl-avatar> <p>Caidn</p></a> <a class="avatar" href="https://discord.com/users/731338278082445376"
<a class="avatar" href="https://discord.com/users/778709612621987850"><sl-avatar image="/img/pfps/ayo.webp" label="ayo"></sl-avatar> <p>ayo</p></a> ><sl-avatar image="/img/pfps/caidn.webp" label="Caidn"></sl-avatar>
<p>Caidn</p></a
>
<a class="avatar" href="https://discord.com/users/704499571400638554"
><sl-avatar image="/img/pfps/buttsfart.webp" label="Buttsfart"></sl-avatar>
<p>Buttsfart</p></a
>
<a class="avatar" href="https://discord.com/users/778709612621987850"
><sl-avatar image="/img/pfps/ayo.webp" label="ayo"></sl-avatar>
<p>ayo</p></a
>
<a class="avatar" href="https://discord.com/users/510677660775743500"
><sl-avatar image="/img/pfps/astra.webp" label="ayo"></sl-avatar>
<p>a456pur</p></a
>
<a class="avatar" href="https://discord.com/users/724793658011811862"
><sl-avatar image="/img/pfps/dire.webp" label="direflaws"></sl-avatar>
<p>DireFlaws</p></a
>
</div> </div>
</main> </main>
@ -88,6 +95,5 @@
<a href="/suggest.html">Suggestions</a> <a href="/suggest.html">Suggestions</a>
<a href="/contact.html">Contact</a> <a href="/contact.html">Contact</a>
</footer> </footer>
</body> </body>
</html> </html>

View File

@ -1,2 +0,0 @@
appnexus.com, 14163, RESELLER
pubcenter.microsoft.com, 253179244, DIRECT

View File

@ -26,21 +26,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Selenite</title> <title>Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -57,7 +43,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main"> <main id="main">

View File

@ -11,6 +11,7 @@
`script><header><button id=goBack></button><button id=reload></button></header><iframe id=selenite></iframe>`; `script><header><button id=goBack></button><button id=reload></button></header><iframe id=selenite></iframe>`;
win.document.querySelector("html").innerHTML = html; win.document.querySelector("html").innerHTML = html;
win.eval(`let selenite = document.getElementById("selenite");console.log(selenite);selenite.setAttribute("src", "${location.origin}");console.log(selenite);document.getElementById("goBack").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.origin;});document.getElementById("reload").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.href;})`); win.eval(`let selenite = document.getElementById("selenite");console.log(selenite);selenite.setAttribute("src", "${location.origin}");console.log(selenite);document.getElementById("goBack").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.origin;});document.getElementById("reload").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.href;})`);
location.href="https://google.com";
close(); close();
</script> </script>
<style> <style>

View File

@ -8241,7 +8241,7 @@
.bind(this) .bind(this)
}).then(function() { }).then(function() {
p(this, t), p(this, t),
window.ga("create", "UA-60359297-49", { window.ga("create", "UA-", {
name: "gd", name: "gd",
cookieExpires: 7776e3, cookieExpires: 7776e3,
sampleRate: 5 sampleRate: 5

View File

@ -16,28 +16,13 @@
<script src="/js/all.js"></script> <script src="/js/all.js"></script>
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<script src="/js/themes.js"></script> <script src="/js/themes.js"></script>
<script src="/js/randomquote.js"></script>
<link rel="stylesheet" href="/themes.css" /> <link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
<!-- seo + other things --> <!-- seo + other things -->
<title>Bookmarklets | Selenite</title> <title>Bookmarklets | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -51,7 +36,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>

View File

@ -119,5 +119,4 @@
} }
} }
</script> </script>
<script src="js/analytics_ubg_v1_4.js"></script>
</html> </html>

View File

@ -16,7 +16,6 @@
<script src="/js/all.js"></script> <script src="/js/all.js"></script>
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<script src="/js/themes.js"></script> <script src="/js/themes.js"></script>
<script src="/js/randomquote.js"></script>
<link rel="stylesheet" href="/themes.css" /> <link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
@ -24,21 +23,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Contact | Selenite</title> <title>Contact | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -52,7 +37,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main" class="noscroll"> <main id="main" class="noscroll">

BIN
img/pfps/buttsfart.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
img/pfps/dire.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -11,22 +11,6 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script> <script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "https://selenite.cc",
"potentialAction": {
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://selenite.cc/projects.html?q={search_term_string}"
},
"query-input": "required name=search_term_string"
}
}
</script>
<!-- initialize my stuff --> <!-- initialize my stuff -->
<script src="/js/all.js"></script> <script src="/js/all.js"></script>
@ -53,21 +37,6 @@
name="keywords" name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games" content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/> />
<meta property="og:title" content="Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Selenite is an unblocked games website which support almost 200 high quality and unique games!"
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta property="og:type" content="website">
<meta property="og:url" content="https://selenite.cc/">
<meta property="og:image" content="favicon.png">
</head> </head>
<alerts> <alerts>
@ -93,7 +62,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main" class="noscroll"> <main id="main" class="noscroll">

View File

@ -82,7 +82,6 @@ function panicMode() {
panicurl = "https://google.com"; panicurl = "https://google.com";
} }
} }
const head = document.getElementsByTagName("head")[0]; const head = document.getElementsByTagName("head")[0];
document.addEventListener( document.addEventListener(
"DOMContentLoaded", "DOMContentLoaded",
@ -104,7 +103,8 @@ if (location.pathname.substring(1).includes("/") && localStorage.getItem("seleni
window.addEventListener("beforeunload", (e) => { window.addEventListener("beforeunload", (e) => {
e.preventDefault(); e.preventDefault();
e.returnValue = ""; e.returnValue = "";
}); return "no";
}, true);
} }
addEventListener("visibilitychange", (e) => { addEventListener("visibilitychange", (e) => {
if (localStorage.getItem("selenite.tabDisguise") == "true") { if (localStorage.getItem("selenite.tabDisguise") == "true") {
@ -129,7 +129,6 @@ addEventListener("visibilitychange", (e) => {
document.querySelector("link[rel~='shortcut icon']").remove(); document.querySelector("link[rel~='shortcut icon']").remove();
} }
} }
document.head.appendChild(icon); document.head.appendChild(icon);
icon.href = location.origin + "/favicon.ico"; icon.href = location.origin + "/favicon.ico";
} else { } else {
@ -139,6 +138,64 @@ addEventListener("visibilitychange", (e) => {
} }
} }
}); });
if (location.pathname != "/vercel.html" && location.hostname.includes(".vercel.app") && (location.hostname.includes("selenite-beta") || location.hostname.includes("space-lovers") || location.hostname.includes("school-education"))) { // modified from ultraviolet to make it different
location.pathname = "/vercel.html"; let enc = {
encode(str) {
if (!str) return str;
return btoa(
encodeURIComponent(
str
.toString()
.split("")
.map((char, ind) => (ind % 3 ? String.fromCharCode(char.charCodeAt() + ind) : char))
.join("")
)
);
},
decode(str) {
if (!str) return str;
let [input, ...search] = str.split("?");
input = decodeURIComponent(atob(input));
return (
input
.split("")
.map((char, ind) => (ind % 3 ? String.fromCharCode(char.charCodeAt(0) - ind) : char))
.join("") + (search.length ? "?" + search.join("?") : "")
);
},
};
if (localStorage.getItem("selenite.password")) {
if (!location.hash) {
location.hash = localStorage.getItem("selenite.password");
}
}
if (JSON.parse(localStorage.getItem("selenite.passwordAtt"))) {
if (JSON.parse(localStorage.getItem("selenite.passwordAtt"))[0] == false && Math.floor(Date.now() / 1000) - JSON.parse(localStorage.getItem("selenite.passwordAtt"))[1] < 600) {
location.href = "https://google.com";
}
}
if (location.hash) {
localStorage.setItem("selenite.password", location.hash.substring(1));
if (JSON.parse(localStorage.getItem("selenite.passwordAtt"))) {
if (JSON.parse(localStorage.getItem("selenite.passwordAtt"))[0] == true && Math.floor(Date.now() / 1000) - JSON.parse(localStorage.getItem("selenite.passwordAtt"))[1] < 600) {
console.log("already good :)");
} else {
if (prompt("Type the right password:") == enc.decode(location.hash.substring(1))) {
localStorage.setItem("selenite.passwordAtt", `[true,${Math.floor(Date.now() / 1000)}]`);
console.log("Correct password!");
} else {
localStorage.setItem("selenite.passwordAtt", `[false,${Math.floor(Date.now() / 1000)}]`);
location.href = "https://google.com";
}
}
} else {
if (prompt("Type the right password:") == enc.decode(location.hash.substring(1))) {
localStorage.setItem("selenite.passwordAtt", `[true,${Math.floor(Date.now() / 1000)}]`);
console.log("Correct password!");
} else {
localStorage.setItem("selenite.passwordAtt", `[false,${Math.floor(Date.now() / 1000)}]`);
location.href = "https://google.com";
}
}
} }

View File

@ -18,6 +18,7 @@ function check() {
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
const iconSetting = document.querySelector("input#discordIcon"); const iconSetting = document.querySelector("input#discordIcon");
const blockClose = document.querySelector("input#blockClose"); const blockClose = document.querySelector("input#blockClose");
const openBlank = document.getElementById("blank");
if (localStorage.getItem("theme")) { if (localStorage.getItem("theme")) {
localStorage.setItem("selenite.theme", localStorage.getItem("theme")); localStorage.setItem("selenite.theme", localStorage.getItem("theme"));
localStorage.removeItem("theme"); localStorage.removeItem("theme");
@ -58,7 +59,19 @@ document.addEventListener("DOMContentLoaded", function () {
}); });
} }
check(); document.getElementById("blank").addEventListener("click", () => {
win = window.open();
win.document.body.style.margin = "0";
win.document.body.style.height = "100vh";
html =
`
<style>*{margin:0;padding:0;border:none}body,iframe{height:100vh;width:100vw}iframe{height:96vh}header{display:flex;height:4vh;justify-content:center;}button{margin-right:100px;height:100%;aspect-ratio: 1 / 1}#reload{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-160q-134 0-227-93t-93-227q0-134 93-227t227-93q69 0 132 28.5T720-690v-110h80v280H520v-80h168q-32-56-87.5-88T480-720q-100 0-170 70t-70 170q0 100 70 170t170 70q77 0 139-44t87-116h84q-28 106-114 173t-196 67Z'/%3E%3C/svg%3E");background-size:cover;}#goBack{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z'/%3E%3C/svg%3E");background-size:cover;}</style><script>
</script><header><button id=goBack></button><button id=reload></button></header><iframe id=selenite></iframe>`;
win.document.querySelector("html").innerHTML = html;
win.eval(`let selenite = document.getElementById("selenite");console.log(selenite);selenite.setAttribute("src", "${location.origin}");console.log(selenite);document.getElementById("goBack").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.origin;});document.getElementById("reload").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.href;})`);
location.href="https://google.com";
close();
})
checkAlert(); checkAlert();
}); });
@ -104,6 +117,11 @@ function setPanicMode() {
} }
document.cookie = "panicurl=" + $("#panic").val(); document.cookie = "panicurl=" + $("#panic").val();
} }
if (location.hostname.includes(".vercel.app") && (location.hostname.includes("selenite-beta") || location.hostname.includes("space-lovers") || location.hostname.includes("school-education"))) { function setPassword() {
alert("IMPORTANT:\nVercel links will be taken offline eventually. Please move to a new link. You can find these in the Discord at discord.gg/7jyufnwJNf, or you can try a few of the ones listed\nselenite.cc\nselenite.pages.dev\nselenite.skysthelimit.dev\nall-about-science.onrender.com"); localStorage.setItem("selenite.password", enc.encode(document.getElementById("pass").value));
}
function delPassword() {
location.hash = "";
localStorage.removeItem("selenite.passwordAtt");
localStorage.removeItem("selenite.password");
} }

View File

@ -33,21 +33,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Projects | Selenite</title> <title>Projects | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -83,7 +69,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>

View File

@ -25,21 +25,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Settings | Selenite</title> <title>Settings | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -53,7 +39,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
@ -131,6 +117,14 @@
<input type="text" id="panic" name="panic" placeholder="https://google.com" /><br /> <input type="text" id="panic" name="panic" placeholder="https://google.com" /><br />
<input id="panic" class="submit" type="submit" value="Set Panic Mode" /> <input id="panic" class="submit" type="submit" value="Set Panic Mode" />
</form> </form>
<form action="javascript:setPassword();">
<h3 for="pass">Password to access website</h3>
<input type="text" id="pass" name="pass" placeholder="password" /><br />
<p>If a teacher tries to copy the URL from your browser, it will require a password to access the website.</p>
<p>If you type a wrong password, you will be locked out for 10 minutes, likewise, if you type the right password, it'll work for 10 minutes.</p>
<input id="setPass" class="submit" type="submit" value="Set Password" />
<button id="delPass" onclick="delPassword()">Delete Password</button>
</form>
</main> </main>
<footer> <footer>

View File

@ -112,7 +112,7 @@ p, a {
font-size: 16px; font-size: 16px;
} }
button, input#websubmit.submit, input[type=submit]#panic { button, input#websubmit.submit, input[type=submit] {
cursor: pointer; cursor: pointer;
background-color: var(--inputbg); background-color: var(--inputbg);
border-color: var(--inputborder); border-color: var(--inputborder);
@ -125,7 +125,7 @@ button, input#websubmit.submit, input[type=submit]#panic {
margin: 10px; margin: 10px;
} }
button:hover, input#websubmit.submit:hover, input[type=submit]#panic:hover { button:hover, input#websubmit.submit:hover, input[type=submit]:hover {
filter: brightness(80%); filter: brightness(80%);
transform: scale(1.07); transform: scale(1.07);
} }

View File

@ -17,7 +17,6 @@
<script src="/js/all.js"></script> <script src="/js/all.js"></script>
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<script src="/js/themes.js"></script> <script src="/js/themes.js"></script>
<script src="/js/randomquote.js"></script>
<link rel="stylesheet" href="/themes.css" /> <link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
@ -25,21 +24,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Selenite</title> <title>Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- toastify --> <!-- toastify -->
@ -56,7 +41,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>
<main id="main" class="noscroll"> <main id="main" class="noscroll">

View File

@ -22,21 +22,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Support | Selenite</title> <title>Support | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
</head> </head>
@ -47,7 +33,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>

View File

@ -24,21 +24,7 @@
<!-- seo + other things --> <!-- seo + other things -->
<title>Projects | Selenite</title> <title>Projects | Selenite</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
@ -57,7 +43,7 @@
<a href="/projects.html">Games</a> <a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a> <a href="/settings.html">Settings</a>
<a href="/support.html">Support</a> <a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a> <a id="blank" href="#">Open Blank</a>
<a href="/about.html">About</a> <a href="/about.html">About</a>
</header> </header>

File diff suppressed because one or more lines are too long

View File

@ -1,82 +0,0 @@
<!DOCTYPE html>
<html class="sl-theme-dark" lang="en">
<head>
<!-- initialize theme vars
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
<!-- initialize externals -->
<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>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script>
<!-- initialize my stuff -->
<script src="/js/all.js"></script>
<script src="/js/main.js"></script>
<script src="/js/themes.js"></script>
<script src="/js/cookie.js"></script>
<link rel="stylesheet" href="/themes.css" />
<link rel="stylesheet" href="/style.css" />
<!-- seo + other things -->
<title>Selenite</title>
<link rel="icon" href="/favicon.ico" />
<meta
name="keywords"
content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games"
/>
<meta property="og:title" content="Welcome to Selenite." />
<meta property="og:site_name" content="https://selenite.cc" />
<meta
property="og:description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta
name="description"
content="Welcome to the one and only option for unblocked games. Welcome to Selenite."
/>
<meta name="author" content="selenite-cc" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
</head>
<body id="noscroll">
<header>
<a href="/index.html">Home</a>
<a href="/bookmarklets.html">Bookmarklets</a>
<a href="/projects.html">Games</a>
<a href="/settings.html">Settings</a>
<a href="/support.html">Support</a>
<a href="/blank.html">Open Blank</a>
<a href="/about.html">About</a>
</header>
<main id="main" class="noscroll">
<h1>Vercel</h1>
<p>Selenite is no longer on Vercel. Please use the button below to download your data, which can be used on any other link.</p>
<button onclick="downloadMainSave()">Download Save</button>
<p>Selenite can no longer support the amount of traffic that the Vercel links recieve. Sadly, this WILL cause many people to lose game progress. Therefore, we are giving you this page.</p>
<p>Please join the <a href="https://discord.gg/7jyufnwJNf">Discord</a>, or use one of the following links:</p>
<a href="https://selenite.cc">selenite.cc</a>
<a href="https://selenite.pages.dev">selenite.pages.dev</a>
<a href="https://selenite.skysthelimit.dev/"> selenite.skysthelimit.dev</a>
<a href="https://projects.blueshadows.cl/">projects.blueshadows.cl</a>
<a href="https://contact.deleesportsmedicine.com">contact.deleesportsmedicine.com</a>
</main>
<footer class="noscroll">
<a href="https://github.com/selenite-cc/Selenite">Source Code</a>
<a id="panicmode">Panic Mode</a>
<a href="/transfer.html">Transfer your data</a>
<a href="/suggest.html">Bug Reports</a>
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
<a href="/suggest.html">Suggestions</a>
<a href="/contact.html">Contact</a>
</footer>
</body>
</html>