Add bad coders webring, update kumaos.

This commit is contained in:
天クマ 2026-07-07 16:42:07 -03:00
commit dc0b9b14cb
17 changed files with 401 additions and 155 deletions

View file

@ -1,16 +1,19 @@
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
const body = document.querySelector('body');
const elements = document.querySelectorAll('[data-tip]');
const hint = document.querySelector("#headerSubtitle");
const hintPanelDefaultText = hint.innerHTML;
const hintPanelDefaultText = hint ? hint.innerHTML : null;
let fixedHint;
let currentObserver;
elements.forEach(el => {
registerElementHint(el);
})
if (hint) {
const elements = document.querySelectorAll('[data-tip]');
elements.forEach(el => {
registerElementHint(el);
});
}
function cleanup() {
if (!hint) return;
hint.innerHTML = hintPanelDefaultText;
hint.classList.remove('fixed');
if (fixedHint) {