mirror of
https://github.com/catmpeg/catmpeg.github.io.git
synced 2026-02-20 15:50:57 +03:00
одааа
This commit is contained in:
parent
64081e564c
commit
6ff291c0cc
2 changed files with 22 additions and 30 deletions
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div class="webring">
|
||||
<a href="https://otomir23.me/webring/34/prev">‹ prev</a>
|
||||
<a href="https://otomir23.me/webring">webring</a>
|
||||
<a href="https://otomir23.me/webring" target="_blank">webring</a>
|
||||
<a href="https://otomir23.me/webring/34/next">next ›</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
50
script.js
50
script.js
|
|
@ -10,36 +10,28 @@ function digitalClock() {
|
|||
setTimeout(digitalClock, 1000);
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
digitalClock();
|
||||
|
||||
try {
|
||||
const script = document.createElement('script');
|
||||
script.src = "//counter.websiteout.com/js/3/8/0/1";
|
||||
document.getElementById('visit-counter').appendChild(script);
|
||||
} catch (e) {}
|
||||
});
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
digitalClock();
|
||||
});
|
||||
|
||||
if (!sessionStorage.getItem('animated')) {
|
||||
sessionStorage.setItem('animated', 'true');
|
||||
document.body.classList.add('anim');
|
||||
document.getElementById('content').style.display = 'none';
|
||||
document.body.style.overflow = 'hidden';
|
||||
terminal.style.display = 'block';
|
||||
|
||||
setTimeout(function() {
|
||||
terminal.insertAdjacentHTML('beforeend', `<h2>Loading page...</h2>`);
|
||||
terminal.scrollTop = terminal.scrollHeight;
|
||||
|
||||
setTimeout(function() {
|
||||
document.body.style.overflow = 'auto';
|
||||
document.getElementById('content').style.display = 'block';
|
||||
terminal.remove();
|
||||
}, 1500);
|
||||
}, 300);
|
||||
} else {
|
||||
terminal.remove();
|
||||
}
|
||||
if (!sessionStorage.getItem('animated')) {
|
||||
sessionStorage.setItem('animated', 'true');
|
||||
document.body.classList.add('anim');
|
||||
document.getElementById('content').style.display = 'none';
|
||||
document.body.style.overflow = 'hidden';
|
||||
terminal.style.display = 'block';
|
||||
setTimeout(function() {
|
||||
terminal.insertAdjacentHTML('beforeend', `<h2>Loading page...</h2>`);
|
||||
terminal.scrollTop = terminal.scrollHeight;
|
||||
setTimeout(function() {
|
||||
document.body.style.overflow = 'auto';
|
||||
document.getElementById('content').style.display = 'flex';
|
||||
terminal.remove();
|
||||
}, 1500);
|
||||
}, 300);
|
||||
} else {
|
||||
terminal.remove();
|
||||
}
|
||||
|
||||
// var arr = [
|
||||
// 'https://my-wallpapers.github.io/my-wallpapers/Dark_forest.jpg',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue