mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 17:43:42 -05:00
this is not going to work
This commit is contained in:
parent
1176293176
commit
ac945c3e63
2 changed files with 29 additions and 17 deletions
|
@ -66,7 +66,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<object data="https://milk.servemp3.com/reider/storage/gxmes/papaspancakeria/papaspancakeria.swf" width="1000" height="800" type="application/x-shockwave-flash">
|
||||
<object data="/reider/storage/gxmes/papaspancakeria/papaspancakeria.swf" width="1000" height="800" type="application/x-shockwave-flash">
|
||||
<param name="allowScriptAccess" value="always">
|
||||
<param name="allowFullScreen" value="true">
|
||||
</object>
|
||||
|
|
|
@ -33,22 +33,34 @@
|
|||
});
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener('keydown', function(event) {
|
||||
if (event.key === '.') {
|
||||
// Change title
|
||||
document.title = "Student and Parent Sign In";
|
||||
document.addEventListener("keydown", function (event) {
|
||||
if (event.key === ".") {
|
||||
let choice = prompt("CLOAK OPTIONS: Google Drive (enter g), Google Classroom (enter gc), Clever (enter c), PowerSchool (enter p), Khan Academy (enter k), Desmos (enter d)");
|
||||
|
||||
// Change favicon
|
||||
var link = document.querySelector("link[rel~='icon']");
|
||||
if (!link) {
|
||||
link = document.createElement('link');
|
||||
link.rel = 'icon';
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
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: "PowerSchool", icon: "/assets/img/powerschool.ico" },
|
||||
k: { title: "Khan Academy", icon: "/assets/img/khan.ico" },
|
||||
d: { title: "Desmos | Scientific Calculator", icon: "/assets/img/desmos.ico" }
|
||||
};
|
||||
|
||||
if (options[choice]) {
|
||||
document.title = options[choice].title;
|
||||
changeFavicon(`/assets/img/${options[choice].icon}`);
|
||||
}
|
||||
link.href = '/assets/img/new_favicon.ico';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
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>
|
||||
</head>
|
||||
<body>
|
||||
<img src="/assets/img/milk_optimized.png" class="center">
|
||||
|
@ -56,7 +68,7 @@
|
|||
<p class="center-text">Settings & Tools (these work on all games and pages)</p>
|
||||
|
||||
<div class="center-text">
|
||||
<p>. - Cloak key (customizable later)</p> • <p>, - Panic key (Opens link of your choice)</p>
|
||||
<p>. - Cloak key</p> • <p>, - Panic key (Opens link of your choice)</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue