this is not going to work

This commit is contained in:
Voxel 2025-04-01 15:02:10 -04:00 committed by GitHub
parent 1176293176
commit ac945c3e63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 17 deletions

View file

@ -66,7 +66,7 @@
</head> </head>
<body> <body>
<div class="container"> <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="allowScriptAccess" value="always">
<param name="allowFullScreen" value="true"> <param name="allowFullScreen" value="true">
</object> </object>

View file

@ -33,21 +33,33 @@
}); });
</script> </script>
<script> <script>
document.addEventListener('keydown', function(event) { document.addEventListener("keydown", function (event) {
if (event.key === '.') { if (event.key === ".") {
// Change title 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)");
document.title = "Student and Parent Sign In";
// Change favicon const options = {
var link = document.querySelector("link[rel~='icon']"); g: { title: "My Drive - Google Drive", icon: "/assets/img/drive.ico" },
if (!link) { gc: { title: "Google Classroom", icon: "/assets/img/classroom.ico" },
link = document.createElement('link'); c: { title: "Clever | Portal", icon: "/assets/img/clever.ico" },
link.rel = 'icon'; p: { title: "PowerSchool", icon: "/assets/img/powerschool.ico" },
document.getElementsByTagName('head')[0].appendChild(link); 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';
} }
}); });
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> </script>
</head> </head>
<body> <body>
@ -56,7 +68,7 @@
<p class="center-text">Settings & Tools (these work on all games and pages)</p> <p class="center-text">Settings & Tools (these work on all games and pages)</p>
<div class="center-text"> <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> </div>
</body> </body>
</html> </html>