This commit is contained in:
skysthelimitt 2023-11-15 20:55:26 -05:00
parent 6de3d2bb7e
commit a841d86b8e
35 changed files with 5162 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

40
funnyshooter/index.html Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Funny Shooter 2 </title>
<script src="/js/all.js"></script>
<meta name="robots" content="noindex,nofollow" />
<script>
window.config = {
loader: 'unity-2020',
debug: false,
maxRatio: 16 / 9,
minRatio: 9 / 16,
title: 'Funny Shooter 2',
thumbnail: '894abba63a6b23fed823f404831f444f.jpeg',
numScreenshots: 4 ,
unityVersion: '2020.3.37f1',
unityWebglBuildUrl: '',
fileSize: 33 ,
cachedDecompressedFileSizes: {
'https://raw.githubusercontent.com/funnyshooter/funnyshooter.github.io/main/file/Build/FunnyShooter2_Poki.data.unityweb': 29010101 ,
'FunnyShooter2_Poki.framework.js.unityweb': 74477 ,
'FunnyShooter2_Poki.loader.js': 110821 ,
'FunnyShooter2_Poki.wasm.unityweb': 4670173 ,
},
"metadata": {"poki_template_version":1,"background_color":"#FFFFFF","background_filename":"FunnyShooter2_Poki.jpg","code_filename":"FunnyShooter2_Poki.wasm.unityweb","company_name":"GoGoMan","data_filename":"https://raw.githubusercontent.com/funnyshooter/funnyshooter.github.io/main/file/Build/FunnyShooter2_Poki.data.unityweb","decompression_fallback":"Brotli","development_player":"false","framework_filename":"FunnyShooter2_Poki.framework.js.unityweb","height":"600","loader_filename":"FunnyShooter2_Poki.loader.js","product_name":"Funny Shooter 2","product_version":"1.0.1","splash_screen_style":"Dark","total_memory":"268435456","unity_version":"2020.3.37f1","use_data_caching":"true","use_threads":"false","use_wasm":"true","use_webgl_1_0":"true","use_webgl_2_0":"true","width":"960"}
};
</script>
<!-- will be copied to the resulting head //-->
</head>
<body>
</body>
</html>

0
funnyshooter/null.json Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

1
funnyshooter/source.txt Normal file
View File

@ -0,0 +1 @@
https://4a3fab9c-91b5-4737-b5cd-fbf50aedaf83.poki-gdn.com/7a99568b-12cb-466d-975e-d1a61cc7609f

View File

@ -53,6 +53,15 @@
<!-- toastify -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const tooltip = document.querySelector('.manual-tooltip');
if(Math.random() < 0.2) {
tooltip.open = !tooltip.open;
setTimeout(() => {
tooltip.open = !tooltip.open;
}, 5000)
}
});
</script>
</head>
<alerts>
@ -85,9 +94,11 @@
<h1>selenite.</h1>
<p id="randomquote">...</p>
<div class="samerow">
<div class="img-container">
<a href="https://patreon.com/selenitecc"><img src="img/Digital-Patreon-Logo_White.png"></a>
</div>
<sl-tooltip content="If you ever want to support Selenite, donate here!" trigger="manual" class="manual-tooltip">
<div class="img-container">
<a href="https://patreon.com/selenitecc"><img src="img/Digital-Patreon-Logo_White.png"></a>
</div>
</sl-tooltip>
<div class="img-container">
<a href="projects.html"><img src="img/baseline_sports_esports_white_48dp.png"></a>
</div>

View File

@ -1,25 +1,37 @@
function setCloak() {
let backup_icon;
let backup_name;
function setCloak(name, icon) {
var tabicon = getCookie("tabicon");
if (tabicon) {
if (tabicon || icon) {
var link = document.querySelector("link[rel~='icon']");
if (link) {
link.remove();
if(link.href != icon)backup_icon = link;
while(document.querySelector("link[rel~='icon']")) {
document.querySelector("link[rel~='icon']").remove()
}
}
var link = document.querySelector("link[rel~='shortcut icon']");
if (link) {
link.remove();
if(link.href != icon)backup_icon = link;
while(document.querySelector("link[rel~='shortcut icon']")) {
document.querySelector("link[rel~='shortcut icon']").remove()
}
}
link = document.createElement("link");
link.rel = "icon";
document.head.appendChild(link);
link.href = tabicon;
if(name){link.href = icon}
}
var tabname = getCookie("tabname");
backup_name = document.title;
if (tabname) {
document.title = tabname;
}
if (name) {
document.title = name;
}
panicMode();
}
if (getCookie("debugging") == 1) {
@ -196,3 +208,40 @@ async function checkblock() {
}
}
}
if (location.pathname.substring(1).includes("/") && localStorage.getItem("selenite.blockClose") == "true") {
window.addEventListener("beforeunload", (e) => {e.preventDefault();e.returnValue = '';});
}
addEventListener("visibilitychange", (e) => {
if(localStorage.getItem("selenite.tabDisguise") == "true") {
if (document.visibilityState === 'hidden') {
setCloak("Google", "https://www.google.com/favicon.ico");
} else {
if(!backup_icon) {
icon = document.createElement("link");
icon.rel = "icon";
var link = document.querySelector("link[rel~='icon']");
if (link) {
backup_icon = link;
while(document.querySelector("link[rel~='icon']")) {
document.querySelector("link[rel~='icon']").remove()
}
}
var link = document.querySelector("link[rel~='shortcut icon']");
if (link) {
backup_icon = link;
while(document.querySelector("link[rel~='shortcut icon']")) {
document.querySelector("link[rel~='shortcut icon']").remove()
}
}
document.head.appendChild(icon);
icon.href = location.origin + "/favicon.ico";
} else {
document.head.appendChild(backup_icon);
}
document.title = backup_name;
}
}
});

View File

@ -15,6 +15,7 @@ function check() {
document.addEventListener('DOMContentLoaded', function() {
const iconSetting = document.querySelector("input#discordIcon");
const blockClose = document.querySelector("input#blockClose");
if(localStorage.getItem("theme")) {
localStorage.setItem("selenite.theme", localStorage.getItem("theme"));
localStorage.removeItem("theme");
@ -38,6 +39,22 @@ document.addEventListener('DOMContentLoaded', function() {
localStorage.setItem("selenite.discordIcon", iconSetting.checked)
});
}
if(document.querySelector("input#blockClose")) {
if(localStorage.getItem("selenite.blockClose") == "true") {
blockClose.checked = true;
}
blockClose.addEventListener("click", () => {
localStorage.setItem("selenite.blockClose", blockClose.checked)
});
}
if(document.querySelector("input#tabDisguise")) {
if(localStorage.getItem("selenite.tabDisguise") == "true") {
tabDisguise.checked = true;
}
tabDisguise.addEventListener("click", () => {
localStorage.setItem("selenite.tabDisguise", tabDisguise.checked)
});
}
check();
checkAlert();
@ -84,4 +101,7 @@ function setPanicMode() {
function customTheme() {
const customMenu = document.querySelector('#customMenu');
customMenu.removeAttribute("display");
}
}
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")
}

View File

@ -56,8 +56,14 @@
setTimeout(() => {
const container = document.querySelector("alerts");
const safemodealert = container.querySelector(`sl-alert.safemodeinfo`);
if (Math.random() < 0.25) {
const tooltip = document.querySelector('.manual-tooltip');
if (Math.random() < 0.33) {
safemodealert.toast();
} else if(Math.random() < 0.5) {
tooltip.open = !tooltip.open;
setTimeout(() => {
tooltip.open = !tooltip.open;
}, 5000)
}
}, 500);
});
@ -87,7 +93,9 @@
<input type="text" id="gamesearch" placeholder="Type here to search.." />
<div class="samerow">
<button onclick="downloadMainSave()">Download Save</button>
<sl-tooltip content="Remember to download your save, so you don't lose your progress." trigger="manual" class="manual-tooltip">
<button onclick="downloadMainSave()">Download Save</button>
</sl-tooltip>
<button id="upload" onclick="uploadMainSave()">Upload Save</button>
</div>
<div class="samerow">

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,24 @@
function UnityProgress(unityInstance, progress) {
if (!unityInstance.Module)
return;
if (!unityInstance.logo) {
unityInstance.logo = document.createElement("div");
unityInstance.logo.className = "logo " + unityInstance.Module.splashScreenStyle;
unityInstance.container.appendChild(unityInstance.logo);
}
if (!unityInstance.progress) {
unityInstance.progress = document.createElement("div");
unityInstance.progress.className = "progress " + unityInstance.Module.splashScreenStyle;
unityInstance.progress.empty = document.createElement("div");
unityInstance.progress.empty.className = "empty";
unityInstance.progress.appendChild(unityInstance.progress.empty);
unityInstance.progress.full = document.createElement("div");
unityInstance.progress.full.className = "full";
unityInstance.progress.appendChild(unityInstance.progress.full);
unityInstance.container.appendChild(unityInstance.progress);
}
unityInstance.progress.full.style.width = (100 * progress) + "%";
unityInstance.progress.empty.style.width = (100 * (1 - progress)) + "%";
if (progress == 1)
unityInstance.logo.style.display = unityInstance.progress.style.display = "none";
}

26
rooftopsnipers/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rooftop Snipers</title>
<script src="/js/all.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="UnityProgress.js"></script>
<script src="UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "rooftop-snipers.json", {
onProgress: UnityProgress,
Module: {
onRuntimeInitialized: function () {
UnityProgress(gameInstance, "complete");
},
},
});
</script>
<script src="scr.js"></script>
</head>
<body>
<div class="webgl-content"><div id="gameContainer" style="width: 100vw; height: 100vh"></div></div>
</body>
</html>

View File

@ -0,0 +1,9 @@
{
"TOTAL_MEMORY": 268435456,
"dataUrl": "RooftopSnipers.data.unityweb",
"asmCodeUrl": "RooftopSnipers.asm.code.unityweb",
"asmMemoryUrl": "RooftopSnipers.asm.memory.unityweb",
"asmFrameworkUrl": "RooftopSnipers.asm.framework.unityweb",
"splashScreenStyle": "Dark",
"backgroundColor": "black"
}

1
rooftopsnipers/scr.js Normal file
View File

@ -0,0 +1 @@
document.addEventListener("DOMContentLoaded",function(){!function(e){var t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e));document.getElementsByTagName("head")[0].appendChild(t)}("#button {\n display:none;\n}\n.imgb_vis {\n animation: imgb-animation 7s linear;\n}\n@keyframes imgb-animation {\n 10% {\n transform: translateX(0);\n }\n 20% {\n transform: translateX(100px);\n }\n 90% {\n transform: translateX(100px);\n }\n 100% {\n transform: translateX(0);\n }\n}");var e=document.createElement("div");e.id="button",e.className="imgb",e.style="position:fixed;top:10%;left:-100px;z-index:10",e.innerHTML='<a target="_blank" href="https://sites.google.com/site/classroom6x/" title="More of best Classroom 6x Unblocked Games"><img src="https://lh4.googleusercontent.com/lUEWrXMVEr4AdjKISyJahDRJ61bwfvHdpeYm86Djn5U8oCm9dI60NGXSBqad9HUvzTXgqlkosA_hWV-VuXPjzrkGvh3_kNSgYk8ySWzXnDpbBCBiooyBbU8oBy3YBZMDkW8RcRVmDuC0raoeqZBm8kBlqs6c5mdfkJeN2aE68lXS_lcOZ5_F7lIuM6qLVg" width="100" height="30" style="cursor:pointer;" alt="More Unblocked Games 6x"></a>',document.body.appendChild(e);var t=document.getElementById("button"),n=0,o=["block","none"],a=[7e3,16e4];!function e(){n^=1;t.style.display=o[n];setTimeout(e,a[n])}(),document.querySelector(".imgb").classList.add("imgb_vis")});

18
rooftopsnipers/style.css Normal file
View File

@ -0,0 +1,18 @@
.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}

View File

@ -81,6 +81,14 @@
<input type="checkbox" id="discordIcon" name="discordIcon">
<label for="discordIcon">Disable Discord Icon</label><br>
</div>
<div class="samerow">
<input type="checkbox" id="blockClose" name="blockClose">
<label for="blockClose">Block tab from being closed</label><br>
</div>
<div class="samerow">
<input type="checkbox" id="tabDisguise" name="tabDisguise">
<label for="tabDisguise">Disguise your tab when you click off (currently only Google)</label><br>
</div>
<h3>Themes</h3>
<div class="samerow themebtns">
<button onclick="setTheme('main')" style="background-color: #3c096c; color: #fff; border: 5px solid #5a189a">selenite</button>