mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
new games
This commit is contained in:
parent
0106affe5d
commit
e384ef53b9
BIN
60sburgerrun/60sBurgerRun.swf
Normal file
BIN
60sburgerrun/60sBurgerRun.swf
Normal file
Binary file not shown.
BIN
60sburgerrun/icon.png
Normal file
BIN
60sburgerrun/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
35
60sburgerrun/index.html
Normal file
35
60sburgerrun/index.html
Normal file
@ -0,0 +1,35 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XVTVBR1D5V"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-XVTVBR1D5V');
|
||||
</script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Achievement Unlocked</title>
|
||||
<style>html{background-color:#000;}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ruffle" width="100%" height="100%"></div>
|
||||
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
||||
<script>
|
||||
window.RufflePlayer = window.RufflePlayer || {};
|
||||
window.addEventListener("load", (event) => {
|
||||
const ruffle = window.RufflePlayer.newest();
|
||||
const player = ruffle.createPlayer();
|
||||
const container = document.getElementById("ruffle");
|
||||
player.id = "player";
|
||||
player.style.width = "100%";
|
||||
player.style.height = "100%";
|
||||
container.appendChild(player);
|
||||
player.load("achievementunlocked.swf");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
21
js/open.js
Normal file
21
js/open.js
Normal file
@ -0,0 +1,21 @@
|
||||
var url = "https://egamepass.pages.dev";
|
||||
var urlObj = new window.URL(window.location.href);
|
||||
document.getElementById("create").onclick = function () {
|
||||
if (url.value.substring(0, 8) !== "https://" && url.value.substring(0, 7) !== "http://") {
|
||||
url.value = "https://" + url.value.split("https://").pop();
|
||||
} else if (url.value.substring(0, 7) == "http://") {
|
||||
url.value = "https://" + url.value.split("http://").pop();
|
||||
}
|
||||
win = window.open();
|
||||
win.document.body.style.margin = "0";
|
||||
win.document.body.style.height = "100vh";
|
||||
var iframe = win.document.createElement("iframe");
|
||||
iframe.style.border = "none";
|
||||
iframe.style.width = "100%";
|
||||
iframe.style.height = "100%";
|
||||
iframe.style.margin = "0";
|
||||
iframe.referrerpolicy = "no-referrer";
|
||||
iframe.allow = "fullscreen";
|
||||
iframe.src = url.value;
|
||||
win.document.body.appendChild(iframe);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user