v2 #1
@ -28,12 +28,17 @@ body {
|
||||
margin: 4px;
|
||||
padding: 2px;
|
||||
width: 7%;
|
||||
/* transition-duration: 0.25s; */
|
||||
transition-duration: 0.25s;
|
||||
cursor: pointer;
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
.button:hover {
|
||||
filter: brightness(1.1);
|
||||
transform: scale(1.05);
|
||||
filter: brightness(1);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
.button:active {
|
||||
filter: brightness(1.2);
|
||||
transform: scale(0.95);
|
||||
}
|
||||
.opposite {
|
||||
width: 50%;
|
||||
|
||||
65
dmca.html
Normal file
65
dmca.html
Normal file
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- initialize theme vars
|
||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||
|
||||
<!-- initialize externals -->
|
||||
<meta property="og:title" content="Selenite" />
|
||||
<meta property="description" content="Selenite is the best unblocked games site. With over 400 games and an account system, no other websites come close to Selenite." />
|
||||
|
||||
<meta content="/favicon.png" property="og:image" />
|
||||
<meta content="#c77dff" data-react-helmet="true" name="theme-color" />
|
||||
<meta name="googlebot" content="index, follow, snippet" />
|
||||
<link rel="canonical" href="https://selenite.cc/" />
|
||||
<meta property="og:description" content="Selenite is the best unblocked games site. With over 400 games and an account system, no other websites come close to Selenite." />
|
||||
<meta property="og:title" content="Selenite">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
"name": "Selenite",
|
||||
"alternateName": "selenite.cc",
|
||||
"url": "https://selenite.cc",
|
||||
"logo": "https://selenite.cc/favicon.png",
|
||||
"sameAs": [
|
||||
"https://github.com/selenite-cc",
|
||||
"https://youtube.com/@selenitecc",
|
||||
"https://tiktok.com/@selenitecc",
|
||||
"https://selenite.cc",
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="/css/main.css" />
|
||||
<link rel="stylesheet" href="/css/pages.css" />
|
||||
<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>
|
||||
<style>
|
||||
p {
|
||||
width: 60%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<alerts> </alerts>
|
||||
<body>
|
||||
<h1 class="title">dmca</h1>
|
||||
<p>if you believe that any of the content on selenite infringes on your copyright or you are authorized to act on behalf of someone who you believe their copyright has been infringed upon, please submit a notice of copyright infringement to our dmca email with the following:</p>
|
||||
<p>your electronic or physical signature, confirming you are the copyright owner or authorized to act on their behalf</p>
|
||||
<p>contact information, including your full name, address, and phone number.</p>
|
||||
<p>the content you believe is being infringed upon (title, url, etc.)</p>
|
||||
<p>a statement that you have a good faith belief that the use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law</p>
|
||||
<p>the content that the information in the notification is accurate, and under penalty of perjury, that you are authorized to act on behalf of the copyright owner</p>
|
||||
<p>you may send this to dmca@selenite.cc</p>
|
||||
<p>upon recieving the takedown notification and confirming that the information provided is valid, we will take down all content we believe appropriate</p>
|
||||
</body>
|
||||
</html>
|
||||
@ -78,7 +78,7 @@
|
||||
<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>
|
||||
<a target="_blank" href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
1
img/share.svg
Normal file
1
img/share.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"/></svg>
|
||||
|
After Width: | Height: | Size: 792 B |
@ -53,6 +53,10 @@
|
||||
<alerts> </alerts>
|
||||
<body>
|
||||
<h1 class="title">information</h1>
|
||||
<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>
|
||||
<h2>dmca</h2>
|
||||
<p>please check <a href="/dmca.html">here</a> for information.</p>
|
||||
<h2>credits</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><a href="https://github.com/a456pur/seraph">seraph</a> by <a href="https://a456pur.dev">a456pur</a> (games)</p>
|
||||
@ -61,7 +65,5 @@
|
||||
<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>
|
||||
<h2>suggest a game</h2>
|
||||
<p>you can either <a href="support@selenite.cc">email us</a> or <a href="https://discord.gg/discord">join the discord</a> to suggest a game/other improvements.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
18
loader.html
18
loader.html
@ -14,6 +14,7 @@
|
||||
<script src="/js/all.min.js"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let gameData = {};
|
||||
if (location.search != "") {
|
||||
let items = {};
|
||||
location.search.substr(1).split("&").forEach((e)=>{
|
||||
@ -21,18 +22,22 @@
|
||||
});
|
||||
if(items.type == "g") {
|
||||
items.type = "semag";
|
||||
gameData["type"] = "g";
|
||||
} else {
|
||||
items.type = "sppa";
|
||||
gameData["type"] = "a";
|
||||
}
|
||||
document.getElementById("gameFrame").setAttribute("src", `/resources/${items.type}/${items.dir}/index.html`);
|
||||
document.getElementById("gameImage").setAttribute("src", `/resources/${items.type}/${items.dir}/${items.img}`);
|
||||
document.getElementById("gameName").innerText = decodeURIComponent(items.title);
|
||||
console.log(items);
|
||||
gameData["path"] = items.dir;
|
||||
} else if(localStorage.getItem("selenite.lastGame")) {
|
||||
let game = JSON.parse(decodeURIComponent(atob(localStorage.getItem("selenite.lastGame"))));
|
||||
document.getElementById("gameFrame").setAttribute("src", `/resources/${items.type}/${game[0]}/index.html`);
|
||||
document.getElementById("gameImage").setAttribute("src", `/resources/${items.type}/${game[0]}/${decodeURIComponent(game[1])}`);
|
||||
document.getElementById("gameName").innerText = game[2];
|
||||
gameData["path"] = game[0];
|
||||
gameData["type"] = items.type == "semag" ? "g" : "a";
|
||||
}
|
||||
document.getElementById("fullscreen").addEventListener("click", () => {
|
||||
document.getElementById("gameFrame").requestFullscreen();
|
||||
@ -40,6 +45,13 @@
|
||||
document.getElementById("reload").addEventListener("click", () => {
|
||||
document.getElementById("gameFrame").src = document.getElementById("gameFrame").src;
|
||||
});
|
||||
document.getElementById("open").addEventListener("click", () => {
|
||||
window.open(document.getElementById("gameFrame").src);
|
||||
});
|
||||
document.getElementById("share").addEventListener("click", () => {
|
||||
let link = location.origin + "#/" + gameData["type"] + "/" + gameData["path"];
|
||||
navigator.clipboard.writeText(link);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -51,13 +63,15 @@
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<iframe id="gameFrame" allow="fullscreen" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-scripts allow-same-origin"></iframe>
|
||||
<iframe id="gameFrame" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-scripts allow-same-origin"></iframe>
|
||||
<div id="infobox">
|
||||
<img id="gameImage" src="favicon.png" />
|
||||
<h2 id="gameName">Selenite</h2>
|
||||
<div class="opposite">
|
||||
<img class="button" id="reload" src="/img/reload.svg">
|
||||
<img class="button" id="fullscreen" src="/img/fullscreen.svg">
|
||||
<img class="button" id="open" src="/img/open.svg">
|
||||
<img class="button" id="share" src="/img/share.svg">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user