Upload files to "/"

This commit is contained in:
2025-03-17 19:40:00 +00:00
parent a1fca87454
commit ae484dc3fe
5 changed files with 353 additions and 0 deletions

23
backg.js Normal file
View File

@@ -0,0 +1,23 @@
function addFadeOut() {
document.body.classList.add('fade-out');
}
function removeFadeOut() {
document.body.classList.remove('fade-out');
}
window.addEventListener('beforeunload', addFadeOut);
window.addEventListener('load', removeFadeOut);
window.addEventListener('popstate', () => {
addFadeOut();
setTimeout(() => {
removeFadeOut();
}, 500);
});