diff --git a/404.html b/404.html index bd42d75..3bb2906 100755 --- a/404.html +++ b/404.html @@ -1,6 +1,16 @@ + + + + diff --git a/apps.html b/apps.html index f12fa03..304203d 100755 --- a/apps.html +++ b/apps.html @@ -1,48 +1,61 @@ - - + + + + - - - - - + + + + + - - - - - - - Projects | Selenite - + + + - - - - - - - - -

xx apps loaded..

-

starred apps

-
-

all apps

-
-

apps loading..

-

nothing was found! try a new search query.

-
- - + + + + + + +

xx apps loaded..

+

starred apps

+
+

all apps

+
+

apps loading..

+

nothing was found! try a new search query.

+
+ + + \ No newline at end of file diff --git a/blank.html b/blank.html index 7881902..e3bb427 100755 --- a/blank.html +++ b/blank.html @@ -1,5 +1,15 @@ + + + + + + + - - + + - - - + + + - - - - - - Selenite - - - - - -

bookmarklets

-

drag the underlined text to your bookmarks bar and click it to use it

-
-
- Adblocker -

This is a simple adblocker in a bookmarklet, may not work that great.

-
-
- The Ultimate Tab Cloak -

Disguise any website you're on as Canvas, Desmos, or Google Drive!

-
-
- Stats.js -

This allows you to view performance stats.

-
+ + + + + + Selenite + + + + + + +

bookmarklets

+

drag the underlined text to your bookmarks bar and click it to use it

+
+
+ Adblocker +

This is a simple adblocker in a bookmarklet, may not work that great.

+
+
+ The + Ultimate Tab Cloak +

Disguise any website you're on as Canvas, Desmos, or Google Drive!

+
+
+ Stats.js +

This allows you to view performance stats.

+
+ +
+ Edit + any page +

This allows you to edit the text of any webpage.

+
+
+ X-Ray + Goggles +

This allows you to view and edit the source code of any website, like a more powerful version of "Edit + any page".

+
+
+ History + Flooder +

This bookmarklet floods your history. Credits to awesome78910.

+
+
+ Dark + Mode +

This sets any page to dark mode.

+
+
+ Piano +

This adds a piano to the page.

+
+
+ Developer + Console +

This adds all features of the developer console to whatever page your on.

+
+
+ Asteroids +

This allows you to play Asteroids on the website you are on, destroying everything.

+
+
+ Katamari +

This allows you to collect the words on the page into a ball. Fun game, I recommend playing it.

+
+
+ -
- Edit any page -

This allows you to edit the text of any webpage.

-
-
- X-Ray Goggles -

This allows you to view and edit the source code of any website, like a more powerful version of "Edit any page".

-
-
- History Flooder -

This bookmarklet floods your history. Credits to awesome78910.

-
-
- Dark Mode -

This sets any page to dark mode.

-
-
- Piano -

This adds a piano to the page.

-
-
- Developer Console -

This adds all features of the developer console to whatever page your on.

-
-
- Asteroids -

This allows you to play Asteroids on the website you are on, destroying everything.

-
-
- Katamari -

This allows you to collect the words on the page into a ball. Fun game, I recommend playing it.

-
-
- \ No newline at end of file diff --git a/dmca.html b/dmca.html index 7b920f3..cde26e7 100644 --- a/dmca.html +++ b/dmca.html @@ -2,6 +2,16 @@ + + + + diff --git a/home.html b/home.html index edb38fb..4470de2 100755 --- a/home.html +++ b/home.html @@ -1,11 +1,22 @@ - - + + + + - - + + - - - - - - - + + - - - Selenite - - - - - -

selenite.

- -

better thank me for this unblocked website

-
-
- -
-
- -
-
- -
-
- - + document.getElementById("randomquote").innerHTML = randomQuote; + }) + .catch((error) => console.error("Error loading quotes:", error)); + }); + + + + Selenite + + + + + + +

selenite.

+ +

better thank me for this unblocked website

+
+
+ +
+
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/index.html b/index.html index ee04a0f..da59bf8 100755 --- a/index.html +++ b/index.html @@ -2,6 +2,16 @@ + + + + diff --git a/info.html b/info.html index c6df1ad..6bb8fcf 100644 --- a/info.html +++ b/info.html @@ -1,11 +1,22 @@ - - + + + + - - + + - - - + + + - - - - - Selenite - - - - - -

information

-

suggest a game!

-

you may make suggestions in our discord or email our support team.

-

dmca

-

please check here for information.

-

privacy policy

-

please check here to see how we process your information.

-

credits

-

whilst the majority of the work has been done by the creator, sky, selenite would not be possible without some key sources and people.

-

seraph by a456pur (games)

-

3kh0 assets by 3kh0 (games)

-

web ports by gn-math (games)

-

more ports by bog (games)

-

even more ports by slqnt (games)

-

cobalt by imputnet (music implementation)

- - + + + + + + Selenite + + + + + + +

information

+

suggest a game!

+

you may make suggestions in our discord or email our support team.

+

dmca

+

please check here for information.

+

privacy policy

+

please check here to see how we process your information.

+

credits

+

whilst the majority of the work has been done by the creator, sky, selenite would not be possible without some + key sources and people.

+

seraph by a456pur (games)

+

3kh0 assets by 3kh0 (games)

+

web ports by gn-math + (games)

+

more ports by bog (games) +

+

even more ports by slqnt (games)

+

cobalt by imputnet (music + implementation)

+ + + \ No newline at end of file diff --git a/loader.html b/loader.html index 3d9779d..06294b8 100755 --- a/loader.html +++ b/loader.html @@ -1,6 +1,16 @@ + + + + diff --git a/privacy.html b/privacy.html index 3ed5142..e633b44 100644 --- a/privacy.html +++ b/privacy.html @@ -1,6 +1,16 @@ + + + + diff --git a/projects.html b/projects.html index 367e332..1483bb7 100755 --- a/projects.html +++ b/projects.html @@ -1,50 +1,63 @@ - - + + + + - - - - - + + + + + - - - - - - - Projects | Selenite - + + + - - - - - - - - -

xx games loaded..

-

starred games

-
-

top games

-
-

all games

-
-

games loading..

-

nothing was found! try a new search query.

-
- - + + + + + + +

xx games loaded..

+

starred games

+
+

top games

+
+

all games

+
+

games loading..

+

nothing was found! try a new search query.

+
+ + + \ No newline at end of file diff --git a/settings.html b/settings.html index 92ad98b..65cf9f0 100755 --- a/settings.html +++ b/settings.html @@ -2,6 +2,16 @@ + + + + diff --git a/sw.js b/sw.js index 7f1745d..7da930c 100644 --- a/sw.js +++ b/sw.js @@ -8,6 +8,12 @@ let localStorageData = { }; // yandere sim big files, cuphead, ddlc assets, renpy, renpy, buckshot roulette, half life, undertale & deltarune, hollow knight let cacheable_files = ["YandereSim.data", "cuphead/Build/Build.data.unityweb.", "/ddlc/game/", "/ddlcplus/game/", "/co09/game/", "/co09flipside/game/", "/co09reup/game/", "renpy.data", "game.zip", "buckshot-roulette.pck", "halva_en-", "game.unx", "bog.data", "FTFHAPort.data.unityweb", "Content.tar.part", "thats-not-my-neighbor.pck", ".unityweb", "index.data.path"]; + +let no_long_cache_dirs = ["deltarune"]; + +function isNoLongCachePath(pathname) { + return no_long_cache_dirs.some(dir => pathname.includes(`/${dir}/`)); +} self.addEventListener("message", e => { if (e.data && e.data.type == "localStorage") { localStorageData = e.data; @@ -17,6 +23,36 @@ self.addEventListener("message", e => { if (workbox) { self.skipWaiting(); workbox.core.clientsClaim(); + self.addEventListener("activate", event => { + event.waitUntil( + caches.open('resources-cache').then(cache => + cache.keys().then(requests => + Promise.all( + requests + .filter(req => isNoLongCachePath(new URL(req.url).pathname)) + .map(req => cache.delete(req)) + ) + ) + ) + ); + }); + + workbox.routing.registerRoute( + ({ url }) => { + if (!url.pathname.includes("/resources/")) return false; + return isNoLongCachePath(url.pathname); + }, + new workbox.strategies.NetworkFirst({ + cacheName: 'resources-cache-nocache-exceptions', + networkTimeoutSeconds: 10, + plugins: [ + new workbox.expiration.ExpirationPlugin({ + maxEntries: 300, + maxAgeSeconds: 60 * 60, + }), + ], + }) + ); workbox.routing.registerRoute( ({ url }) => {