Prepare Beta Version

This commit is contained in:
2025-05-29 10:05:27 -06:00
parent a7002701f5
commit ea6b04f3f4
254 changed files with 5653 additions and 6569 deletions

View File

@ -0,0 +1,18 @@
window.faviconManager = {
set(src) {
let link = document.querySelector("link[rel~='icon']");
if (!link) {
link = document.createElement("link");
link.rel = "icon";
document.head.appendChild(link);
}
link.href = src;
},
flash(src, duration = 1500) {
const original = document.querySelector("link[rel~='icon']")?.href;
this.set(src);
if (original) {
setTimeout(() => this.set(original), duration);
}
}
};