gtag, adsense, caching
This commit is contained in:
10
404.html
10
404.html
@ -1,6 +1,16 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
91
apps.html
91
apps.html
@ -1,48 +1,61 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="sl-theme-dark" lang="en">
|
<html class="sl-theme-dark" lang="en">
|
||||||
<head>
|
|
||||||
<!-- initialize theme vars
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
<!-- initialize my stuff -->
|
<!-- initialize my stuff -->
|
||||||
<script src="/js/all.min.js" async></script>
|
<script src="/js/all.min.js" async></script>
|
||||||
<script>let type = "a";</script>
|
<script>let type = "a";</script>
|
||||||
<script src="/js/loader.js"></script>
|
<script src="/js/loader.js"></script>
|
||||||
<script src="/js/main.js"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.css" />
|
|
||||||
<link rel="stylesheet" href="/css/pages.css" />
|
|
||||||
<link rel="stylesheet" href="/css/games.css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- seo + other things -->
|
<link rel="stylesheet" href="/css/main.css" />
|
||||||
<title>Projects | Selenite</title>
|
<link rel="stylesheet" href="/css/pages.css" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="stylesheet" href="/css/games.css" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
||||||
|
|
||||||
<!-- toastify -->
|
<!-- seo + other things -->
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563"
|
<title>Projects | Selenite</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
|
||||||
|
<!-- toastify -->
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3045051195337951"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script></script>
|
<script></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
<input type="text" class="searchbar" id="gamesearch" placeholder="Type here to search.." />
|
<body>
|
||||||
<select id="gamesort">
|
<input type="text" class="searchbar" id="gamesearch" placeholder="Type here to search.." />
|
||||||
<option value="az">a -> z</option>
|
<select id="gamesort">
|
||||||
<option value="za">z -> a</option>
|
<option value="az">a -> z</option>
|
||||||
<option value="new">newest</option>
|
<option value="za">z -> a</option>
|
||||||
<option value="played">your top apps</option>
|
<option value="new">newest</option>
|
||||||
<option value="global">global top apps</option>
|
<option value="played">your top apps</option>
|
||||||
</select>
|
<option value="global">global top apps</option>
|
||||||
<p id="gameCount">xx apps loaded..</p>
|
</select>
|
||||||
<p id="starredHeader">starred apps</p>
|
<p id="gameCount">xx apps loaded..</p>
|
||||||
<div id="starredgames"></div>
|
<p id="starredHeader">starred apps</p>
|
||||||
<p id="allHeader" class="title">all apps</p>
|
<div id="starredgames"></div>
|
||||||
<div id="games">
|
<p id="allHeader" class="title">all apps</p>
|
||||||
<p id="loadingMsg">apps loading..</p>
|
<div id="games">
|
||||||
<p id="noResults">nothing was found! try a new search query.</p>
|
<p id="loadingMsg">apps loading..</p>
|
||||||
</div>
|
<p id="noResults">nothing was found! try a new search query.</p>
|
||||||
</body>
|
</div>
|
||||||
</html>
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
10
blank.html
10
blank.html
@ -1,5 +1,15 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
win = window.open();
|
win = window.open();
|
||||||
win.document.body.style.margin = "0";
|
win.document.body.style.margin = "0";
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
10
dmca.html
10
dmca.html
@ -2,6 +2,16 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
119
home.html
119
home.html
@ -1,11 +1,22 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<!-- initialize theme vars
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
<!-- initialize externals -->
|
<!-- initialize externals -->
|
||||||
|
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
@ -23,53 +34,57 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- initialize my stuff -->
|
<!-- initialize my stuff -->
|
||||||
<link rel="stylesheet" href="/css/main.css" />
|
<link rel="stylesheet" href="/css/main.css" />
|
||||||
<link rel="stylesheet" href="/css/pages.css" />
|
<link rel="stylesheet" href="/css/pages.css" />
|
||||||
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'" />
|
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" as="style"
|
||||||
<script src="/js/main.js" defer></script>
|
onload="this.onload=null;this.rel='stylesheet'" />
|
||||||
<!-- <script src="/js/widget.js"></script> -->
|
<script src="/js/main.js" defer></script>
|
||||||
<script defer>
|
<!-- <script src="/js/widget.js"></script> -->
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
<script defer>
|
||||||
setBackground();
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
fetch("/quotes.json")
|
setBackground();
|
||||||
.then((response) => response.json())
|
fetch("/quotes.json")
|
||||||
.then((data) => {
|
.then((response) => response.json())
|
||||||
let randomQuote = data[Math.floor(Math.random() * data.length)];
|
.then((data) => {
|
||||||
|
let randomQuote = data[Math.floor(Math.random() * data.length)];
|
||||||
|
|
||||||
if (randomQuote.includes("OGNUM1") && randomQuote.includes("SQRTNUM1")) {
|
if (randomQuote.includes("OGNUM1") && randomQuote.includes("SQRTNUM1")) {
|
||||||
const ognum = Math.floor(Math.random() * 3000);
|
const ognum = Math.floor(Math.random() * 3000);
|
||||||
randomQuote = `the square root of ${ognum} is ${Math.sqrt(ognum)}`;
|
randomQuote = `the square root of ${ognum} is ${Math.sqrt(ognum)}`;
|
||||||
} else if (randomQuote.includes("CURRENTURL")) {
|
} else if (randomQuote.includes("CURRENTURL")) {
|
||||||
randomQuote = window.location.hostname;
|
randomQuote = window.location.hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("randomquote").innerHTML = randomQuote;
|
document.getElementById("randomquote").innerHTML = randomQuote;
|
||||||
})
|
})
|
||||||
.catch((error) => console.error("Error loading quotes:", error));
|
.catch((error) => console.error("Error loading quotes:", error));
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<!-- seo + other things -->
|
<!-- seo + other things -->
|
||||||
<title>Selenite</title>
|
<title>Selenite</title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563" crossorigin="anonymous"></script>
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3045051195337951"
|
||||||
</head>
|
crossorigin="anonymous"></script>
|
||||||
<alerts> </alerts>
|
</head>
|
||||||
<body>
|
<alerts> </alerts>
|
||||||
<h1 class="title">selenite.</h1>
|
|
||||||
<noscript>enable javascript if you want the games to actually load</noscript>
|
<body>
|
||||||
<p id="randomquote">better thank me for this unblocked website</p>
|
<h1 class="title">selenite.</h1>
|
||||||
<div class="samerow">
|
<noscript>enable javascript if you want the games to actually load</noscript>
|
||||||
<div class="img-container">
|
<p id="randomquote">better thank me for this unblocked website</p>
|
||||||
<a href="/users"><img src="img/user_index.svg" /></a>
|
<div class="samerow">
|
||||||
</div>
|
<div class="img-container">
|
||||||
<div class="img-container">
|
<a href="/users"><img src="img/user_index.svg" /></a>
|
||||||
<a href="projects.html"><img src="img/games.svg" /></a>
|
</div>
|
||||||
</div>
|
<div class="img-container">
|
||||||
<div class="img-container">
|
<a href="projects.html"><img src="img/games.svg" /></a>
|
||||||
<a target="_blank" href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
</div>
|
||||||
</div>
|
<div class="img-container">
|
||||||
</div>
|
<a target="_blank" href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
||||||
</body>
|
</div>
|
||||||
</html>
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
10
index.html
10
index.html
@ -2,6 +2,16 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
96
info.html
96
info.html
@ -1,11 +1,22 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<!-- initialize theme vars
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
<!-- initialize externals -->
|
<!-- initialize externals -->
|
||||||
|
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
@ -23,38 +34,47 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</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>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.css" />
|
<link rel="stylesheet" href="/css/main.css" />
|
||||||
<link rel="stylesheet" href="/css/pages.css" />
|
<link rel="stylesheet" href="/css/pages.css" />
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<!-- seo + other things -->
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3045051195337951"
|
||||||
<title>Selenite</title>
|
crossorigin="anonymous"></script>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<!-- seo + other things -->
|
||||||
<style>
|
<title>Selenite</title>
|
||||||
p {
|
<link rel="icon" href="/favicon.ico" />
|
||||||
width: 60%;
|
<style>
|
||||||
}
|
p {
|
||||||
</style>
|
width: 60%;
|
||||||
</head>
|
}
|
||||||
<alerts> </alerts>
|
</style>
|
||||||
<body>
|
</head>
|
||||||
<h1 class="title">information</h1>
|
<alerts> </alerts>
|
||||||
<h2>suggest a game!</h2>
|
|
||||||
<p>you may make suggestions in our <a target="_blank" href="https://discord.gg/7jyufnwJNf">discord</a> or <a href="mailto:support@selenite.cc">email our support team</a>.</p>
|
<body>
|
||||||
<h2>dmca</h2>
|
<h1 class="title">information</h1>
|
||||||
<p>please check <a href="/dmca.html">here</a> for information.</p>
|
<h2>suggest a game!</h2>
|
||||||
<h2>privacy policy</h2>
|
<p>you may make suggestions in our <a target="_blank" href="https://discord.gg/7jyufnwJNf">discord</a> or <a
|
||||||
<p>please check <a href="/privacy.html">here</a> to see how we process your information.</p>
|
href="mailto:support@selenite.cc">email our support team</a>.</p>
|
||||||
<h2>credits</h2>
|
<h2>dmca</h2>
|
||||||
<p>whilst the majority of the work has been done by the creator, sky, selenite would not be possible without some key sources and people.</p>
|
<p>please check <a href="/dmca.html">here</a> for information.</p>
|
||||||
<p><a href="https://github.com/a456pur/seraph">seraph</a> by <a href="https://a456pur.dev">a456pur</a> (games)</p>
|
<h2>privacy policy</h2>
|
||||||
<p><a href="https://gitlab.com/3kh0/3kh0-assets">3kh0 assets</a> by <a href="https://3kh0.com">3kh0</a> (games)</p>
|
<p>please check <a href="/privacy.html">here</a> to see how we process your information.</p>
|
||||||
<p><a href="https://github.com/genizy/web-port">web ports</a> by <a href="https://gn-math.github.io/">gn-math</a> (games)</p>
|
<h2>credits</h2>
|
||||||
<p><a href="https://github.com/genizy/web-port">more ports</a> by <a href="https://truffled.lol/">bog</a> (games)</p>
|
<p>whilst the majority of the work has been done by the creator, sky, selenite would not be possible without some
|
||||||
<p>even more ports by <a href="https://www.slqnt.dev/">slqnt</a> (games)</p>
|
key sources and people.</p>
|
||||||
<p><a href="https://cobalt.tools">cobalt</a> by <a href="https://github.com/imputnet">imputnet</a> (music implementation)</p>
|
<p><a href="https://github.com/a456pur/seraph">seraph</a> by <a href="https://a456pur.dev">a456pur</a> (games)</p>
|
||||||
</body>
|
<p><a href="https://gitlab.com/3kh0/3kh0-assets">3kh0 assets</a> by <a href="https://3kh0.com">3kh0</a> (games)</p>
|
||||||
</html>
|
<p><a href="https://github.com/genizy/web-port">web ports</a> by <a href="https://gn-math.github.io/">gn-math</a>
|
||||||
|
(games)</p>
|
||||||
|
<p><a href="https://github.com/genizy/web-port">more ports</a> by <a href="https://truffled.lol/">bog</a> (games)
|
||||||
|
</p>
|
||||||
|
<p>even more ports by <a href="https://www.slqnt.dev/">slqnt</a> (games)</p>
|
||||||
|
<p><a href="https://cobalt.tools">cobalt</a> by <a href="https://github.com/imputnet">imputnet</a> (music
|
||||||
|
implementation)</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
10
loader.html
10
loader.html
@ -1,6 +1,16 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="sl-theme-dark" lang="en">
|
<html class="sl-theme-dark" lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
10
privacy.html
10
privacy.html
@ -1,6 +1,16 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
@ -1,50 +1,63 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="sl-theme-dark" lang="en">
|
<html class="sl-theme-dark" lang="en">
|
||||||
<head>
|
|
||||||
<!-- initialize theme vars
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
<!-- initialize my stuff -->
|
<!-- initialize my stuff -->
|
||||||
<script src="/js/all.min.js" async></script>
|
<script src="/js/all.min.js" async></script>
|
||||||
<script>let type = "g";</script>
|
<script>let type = "g";</script>
|
||||||
<script src="/js/loader.js"></script>
|
<script src="/js/loader.js"></script>
|
||||||
<script src="/js/main.js"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.css" />
|
|
||||||
<link rel="stylesheet" href="/css/pages.css" />
|
|
||||||
<link rel="stylesheet" href="/css/games.css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- seo + other things -->
|
<link rel="stylesheet" href="/css/main.css" />
|
||||||
<title>Projects | Selenite</title>
|
<link rel="stylesheet" href="/css/pages.css" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="stylesheet" href="/css/games.css" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
||||||
|
|
||||||
<!-- toastify -->
|
<!-- seo + other things -->
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563"
|
<title>Projects | Selenite</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
|
||||||
|
<!-- toastify -->
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3045051195337951"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script></script>
|
<script></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
<input type="text" class="searchbar" id="gamesearch" placeholder="Type here to search.." />
|
<body>
|
||||||
<select id="gamesort">
|
<input type="text" class="searchbar" id="gamesearch" placeholder="Type here to search.." />
|
||||||
<option value="az">a -> z</option>
|
<select id="gamesort">
|
||||||
<option value="za">z -> a</option>
|
<option value="az">a -> z</option>
|
||||||
<option value="new">newest</option>
|
<option value="za">z -> a</option>
|
||||||
<option value="played">your top games</option>
|
<option value="new">newest</option>
|
||||||
<option value="global">global top games</option>
|
<option value="played">your top games</option>
|
||||||
</select>
|
<option value="global">global top games</option>
|
||||||
<p id="gameCount">xx games loaded..</p>
|
</select>
|
||||||
<p id="starredHeader">starred games</p>
|
<p id="gameCount">xx games loaded..</p>
|
||||||
<div id="starredgames"></div>
|
<p id="starredHeader">starred games</p>
|
||||||
<p id="topHeader" class="title">top games</p>
|
<div id="starredgames"></div>
|
||||||
<div id="topGames"></div>
|
<p id="topHeader" class="title">top games</p>
|
||||||
<p id="allHeader" class="title">all games</p>
|
<div id="topGames"></div>
|
||||||
<div id="games">
|
<p id="allHeader" class="title">all games</p>
|
||||||
<p id="loadingMsg">games loading..</p>
|
<div id="games">
|
||||||
<p id="noResults">nothing was found! try a new search query.</p>
|
<p id="loadingMsg">games loading..</p>
|
||||||
</div>
|
<p id="noResults">nothing was found! try a new search query.</p>
|
||||||
</body>
|
</div>
|
||||||
</html>
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@ -2,6 +2,16 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-J0Y3T4HN4N');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- initialize theme vars
|
<!-- initialize theme vars
|
||||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||||
|
|
||||||
|
|||||||
36
sw.js
36
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
|
// 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 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 => {
|
self.addEventListener("message", e => {
|
||||||
if (e.data && e.data.type == "localStorage") {
|
if (e.data && e.data.type == "localStorage") {
|
||||||
localStorageData = e.data;
|
localStorageData = e.data;
|
||||||
@ -17,6 +23,36 @@ self.addEventListener("message", e => {
|
|||||||
if (workbox) {
|
if (workbox) {
|
||||||
self.skipWaiting();
|
self.skipWaiting();
|
||||||
workbox.core.clientsClaim();
|
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(
|
workbox.routing.registerRoute(
|
||||||
({ url }) => {
|
({ url }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user