mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-16 02:22:07 -05:00
removing dragon ball devolution (as requested by creator)
This commit is contained in:
parent
e59e807d6e
commit
fe1a182b47
BIN
Dosis-VariableFont_wght.ttf
Normal file
BIN
Dosis-VariableFont_wght.ttf
Normal file
Binary file not shown.
14
js/all.js
14
js/all.js
@ -99,16 +99,10 @@ document.addEventListener(
|
|||||||
},
|
},
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
if (location.pathname.substring(1).includes("/") && localStorage.getItem("selenite.blockClose") == "true") {
|
if (location.pathname.substring(1).includes("semag") && localStorage.getItem("selenite.blockClose") == "true") {
|
||||||
window.addEventListener(
|
window.onbeforeunload = function () {
|
||||||
"beforeunload",
|
return "";
|
||||||
(e) => {
|
};
|
||||||
e.preventDefault();
|
|
||||||
e.returnValue = "";
|
|
||||||
return "no";
|
|
||||||
},
|
|
||||||
true
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
addEventListener("visibilitychange", (e) => {
|
addEventListener("visibilitychange", (e) => {
|
||||||
if (localStorage.getItem("selenite.tabDisguise") == "true") {
|
if (localStorage.getItem("selenite.tabDisguise") == "true") {
|
||||||
|
Binary file not shown.
@ -6,23 +6,11 @@
|
|||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Dragon Ball Devolution</title>
|
<title>Dragon Ball Devolution</title>
|
||||||
<style>html{background-color:#000;}</style>
|
<style>html{background-color:#000;color:#fff;text-align: center;}a{color:#fff}</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="ruffle" width="100%" height="100%"></div>
|
<h1>dragon ball devolution has been removed as of the request of the creator.</h1>
|
||||||
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
<p>please do not harass them, and please go support the original game instead.</p>
|
||||||
<script>
|
<a href="https://www.txori.com/dbdevolution">https://www.txori.com/dbdevolution</a>
|
||||||
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("dbzd.swf");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user