1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.2.25

This commit is contained in:
daichimarukana
2023-10-22 23:45:14 +09:00
parent 0ecf4b9fb1
commit 884f8043a3
33 changed files with 814 additions and 113 deletions
+32 -6
View File
@@ -467,9 +467,19 @@ if ("serviceWorker" in navigator) {
<body>
<div>
<div id="offline" class="offline" style="display:none;">
<p>🦖💨 インターネットへの接続が切断されました...</p>
</div>
<div id="online" class="online" style="display:none;">
<p>🌐💫 インターネットへの接続が復帰しました!!!</p>
</div>
</div>
<?php require('../require/leftbox.php');?>
<main class="outer">
<div class="tlchange">
<a href="index" class="off">LTL</a>
<a href="ftl" class="on">FTL</a>
@@ -801,13 +811,29 @@ $(document).on('click', '.addabi', function (event) {
});
}
});
});
});
var osho_gats = document.getElementById('osho_gats');
$(document).on('click', '.os_exit_btn', function (event) {
document.cookie = "event=done; max-age=86400";
osho_gats.style.display = 'none';
});
window.addEventListener('online', function(){
checkOnline();
});
window.addEventListener('offline', function(){
checkOnline();
});
function checkOnline() {
if( navigator.onLine ) {
$("#online").show();
$("#offline").hide();
} else {
$("#online").hide();
$("#offline").show();
}
}
var osho_gats = document.getElementById('osho_gats');
$(document).on('click', '.os_exit_btn', function (event) {
document.cookie = "event=done; max-age=86400";
osho_gats.style.display = 'none';
});
});