lolz/web_head.html

45 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2024-06-18 17:19:23 +00:00
<!-- proven.lol verification -->
2024-03-07 15:45:20 +00:00
<link rel="me" title="proven.lol" href="https://proven.lol/4cc26c">
2024-11-30 05:11:58 +00:00
<!-- bearlytics -->
2024-12-02 18:11:15 +00:00
<script data-site="JWMACSZ" src="https://bearlytics.jbowdre.lol/script.js" defer></script>
2024-06-18 17:19:23 +00:00
<!-- typo animation -->
2024-08-04 18:47:21 +00:00
<script src="https://res.jbowdre.lol/js/typo.js" defer></script>
2024-03-07 15:45:20 +00:00
<script>
2024-06-14 19:46:33 +00:00
// implement typo
document.addEventListener('DOMContentLoaded', function() {
2024-08-04 20:13:40 +00:00
let typoElement = document.getElementById('typo');
if (typoElement) {
let typoText = "I write code to make imaginary computers run code written by less imaginary developers";
typo(typoElement, typoText);
}
});
2024-03-07 15:45:20 +00:00
</script>
2024-08-04 20:13:40 +00:00
<script src="https://res.jbowdre.lol/js/weather.js" defer></script>
<script>
2024-08-04 19:39:53 +00:00
// replace theme-song placeholder text when the musicthread response comes in
document.addEventListener('DOMContentLoaded', function() {
const themeSongContainer = document.getElementById('theme-song');
2024-08-04 20:13:40 +00:00
if (themeSongContainer) {
const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && themeSongContainer.childNodes.length > 2) {
themeSongContainer.removeChild(themeSongContainer.firstChild);
observer.disconnect();
}
});
});
2024-08-04 20:13:40 +00:00
observer.observe(themeSongContainer, { childList: true });
}
2024-08-04 19:39:53 +00:00
});
2024-11-30 05:11:58 +00:00
</script>
2024-12-01 03:20:09 +00:00
2024-12-02 18:11:15 +00:00
2024-12-03 00:10:02 +00:00