From 1ce23efb61cd28e3a601f43ef06e89358350ab20 Mon Sep 17 00:00:00 2001 From: sky Date: Sun, 7 Jan 2024 18:27:00 -0500 Subject: [PATCH] enhancements, password system --- 404.html | 18 +-- about.html | 164 ++++++++++---------- ads.txt | 2 - backgrounds.html | 18 +-- blank.html | 1 + bobtherobber2/js/main.min.js | 2 +- bookmarklets.html | 19 +-- burritobison/index.html | 1 - contact.html | 19 +-- img/pfps/buttsfart.webp | Bin 0 -> 3998 bytes img/pfps/dire.webp | Bin 0 -> 3804 bytes index.html | 33 +--- js/all.js | 293 +++++++++++++++++++++-------------- js/main.js | 24 ++- projects.html | 18 +-- settings.html | 26 ++-- style.css | 4 +- suggest.html | 19 +-- support.html | 18 +-- test.html | 18 +-- transfer.html | 22 +-- vercel.html | 82 ---------- 22 files changed, 316 insertions(+), 485 deletions(-) create mode 100644 img/pfps/buttsfart.webp create mode 100644 img/pfps/dire.webp delete mode 100644 vercel.html diff --git a/404.html b/404.html index 3061776c..12c5d314 100644 --- a/404.html +++ b/404.html @@ -33,21 +33,7 @@ Selenite - - - - - - + @@ -77,7 +63,7 @@ Games Settings Support - Open Blank + Open Blank About
diff --git a/about.html b/about.html index 368e4843..e7447b37 100644 --- a/about.html +++ b/about.html @@ -1,93 +1,99 @@ - - - - - - - - + + + + + - - - - - - - + + + + + + + + Contact | Selenite + - - Contact | Selenite - - - - - - - - + - - - + + + - -
- Home - Bookmarklets - Games - Settings - Support - Open Blank - About -
-
-

About Selenite

-

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).

+ +
+ Home + Bookmarklets + Games + Settings + Support + Open Blank + About +
+
+

About Selenite

+

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).

-

Credits

-

jQuery: a lot of the more technical stuff.

-

js-cookie: working with cookies.

-

Shoelace: a lot of smaller styling, such as the safe mode alert

-

3kh0: a lot of games, the download/upload save feature, and the main inspiration

-

View Background Credits

+

Credits

+

jQuery: a lot of the more technical stuff.

+

js-cookie: working with cookies.

+

Shoelace: a lot of smaller styling, such as the safe mode alert

+

3kh0: a lot of games, the download/upload save feature, and the main inspiration

+

View Background Credits

-

Developers

- +

Developers

+ -

Supporters

-
-

Caidn

-

ayo

-
-
- - - - +

Supporters

+ +
+ + + diff --git a/ads.txt b/ads.txt index 374e7527..e69de29b 100644 --- a/ads.txt +++ b/ads.txt @@ -1,2 +0,0 @@ -appnexus.com, 14163, RESELLER -pubcenter.microsoft.com, 253179244, DIRECT \ No newline at end of file diff --git a/backgrounds.html b/backgrounds.html index c2adc758..a8a66829 100644 --- a/backgrounds.html +++ b/backgrounds.html @@ -26,21 +26,7 @@ Selenite - - - - - - + @@ -57,7 +43,7 @@ Games Settings Support - Open Blank + Open Blank About
diff --git a/blank.html b/blank.html index 59b10883..78819025 100644 --- a/blank.html +++ b/blank.html @@ -11,6 +11,7 @@ `script>
`; 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();
`; + 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(); }); @@ -104,6 +117,11 @@ function setPanicMode() { } 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"))) { - 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"); +function setPassword() { + localStorage.setItem("selenite.password", enc.encode(document.getElementById("pass").value)); } +function delPassword() { + location.hash = ""; + localStorage.removeItem("selenite.passwordAtt"); + localStorage.removeItem("selenite.password"); +} \ No newline at end of file diff --git a/projects.html b/projects.html index 5e3d2fc8..ecaffcea 100644 --- a/projects.html +++ b/projects.html @@ -33,21 +33,7 @@ Projects | Selenite - - - - - - + @@ -83,7 +69,7 @@ Games Settings Support - Open Blank + Open Blank About diff --git a/settings.html b/settings.html index 40e6b28b..593d526c 100644 --- a/settings.html +++ b/settings.html @@ -25,21 +25,7 @@ Settings | Selenite - - - - - - + @@ -53,7 +39,7 @@ Games Settings Support - Open Blank + Open Blank About @@ -131,6 +117,14 @@
+
+

Password to access website

+
+

If a teacher tries to copy the URL from your browser, it will require a password to access the website.

+

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.

+ + +