mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 05:33:40 -05:00
Compare commits
6 commits
cdcff19cb2
...
2d96f1e621
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2d96f1e621 | ||
![]() |
02e09af28a | ||
![]() |
739070b37e | ||
![]() |
3ce12dbb52 | ||
![]() |
ef31cb1e11 | ||
![]() |
1ccccd19bc |
3 changed files with 91 additions and 0 deletions
BIN
assets/games/5b/5b.swf
Normal file
BIN
assets/games/5b/5b.swf
Normal file
Binary file not shown.
91
assets/games/5b/index.html
Normal file
91
assets/games/5b/index.html
Normal file
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3044824252307692"
|
||||
crossorigin="anonymous"></script>
|
||||
<title>BFDIA 5b</title>
|
||||
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
||||
<!--Google Analytics-->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M9KJ1XPKLF"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() { dataLayer.push(arguments); }
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-M9KJ1XPKLF');
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
let savedLink = localStorage.getItem("savedLink");
|
||||
|
||||
document.addEventListener("keydown", function(event) {
|
||||
if (event.key === ",") {
|
||||
if (!savedLink) {
|
||||
savedLink = prompt("Escape to: https://YOURLINK.tld");
|
||||
if (savedLink) {
|
||||
localStorage.setItem("savedLink", savedLink);
|
||||
}
|
||||
} else {
|
||||
window.open(savedLink, "_blank");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener("keydown", function (event) {
|
||||
if (event.key === ".") {
|
||||
let choice = prompt("CLOAK OPTIONS: Google Drive (enter g), Google Classroom (enter gc), Google Docs (enter gd), Clever (enter c), PowerSchool (enter p), Khan Academy (enter k), Desmos (enter d), Schoology (enter s), Cool Math Games (enter cmg)");
|
||||
|
||||
const options = {
|
||||
g: { title: "My Drive - Google Drive", icon: "/assets/img/drive.ico" },
|
||||
gc: { title: "Google Classroom", icon: "/assets/img/classroom.ico" },
|
||||
c: { title: "Clever | Portal", icon: "/assets/img/clever.ico" },
|
||||
p: { title: "Student and Parent Sign In", icon: "/assets/img/powerschool.ico" },
|
||||
k: { title: "Khan Academy", icon: "/assets/img/khan.ico" },
|
||||
gd: { title: "Google Docs", icon: "/assets/img/docs.ico" },
|
||||
s: { title: "Schoology", icon: "/assets/img/schoology.ico" },
|
||||
d: { title: "Desmos | Scientific Calculator", icon: "/assets/img/desmos.ico" },
|
||||
cmg: { title: "Cool Math Games - Free Online Games for Learning and Fun", icon: "/assets/img/coolmathgames.ico" },
|
||||
i: { title: "IXL | Math, Language Arts, Science, Social Studies, and Spanish", icon: "/assets/img/ixl.ico" },
|
||||
};
|
||||
|
||||
if (options[choice]) {
|
||||
document.title = options[choice].title;
|
||||
changeFavicon(options[choice].icon);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function changeFavicon(src) {
|
||||
let link = document.querySelector("link[rel*='icon']") || document.createElement('link');
|
||||
link.type = "image/x-icon";
|
||||
link.rel = "shortcut icon";
|
||||
link.href = src;
|
||||
document.getElementsByTagName("head")[0].appendChild(link);
|
||||
}
|
||||
</script>
|
||||
<!--Google Analytics-->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: black;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<object data="https://milk.servemp3.com/assets/games/5b/run.swf" width="1000" height="800" type="application/x-shockwave-flash">
|
||||
<param name="allowScriptAccess" value="always">
|
||||
<param name="allowFullScreen" value="true">
|
||||
</object>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
assets/games/5b/run.swf
Normal file
BIN
assets/games/5b/run.swf
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue