20 lines
827 B
TypeScript
20 lines
827 B
TypeScript
document.addEventListener("DOMContentLoaded", () => {
|
|
const webringsElement = document.querySelector(".webrings");
|
|
if (!webringsElement) return;
|
|
|
|
const bucketIframe = document.createElement("iframe");
|
|
bucketIframe.title = "the bucket webring";
|
|
bucketIframe.id = "bucket-webring";
|
|
bucketIframe.style.width = "100%";
|
|
bucketIframe.style.height = "3rem";
|
|
bucketIframe.style.border = "none";
|
|
bucketIframe.style.marginTop = "5px";
|
|
bucketIframe.src =
|
|
"https://webring.bucketfish.me/embed.html?name=☹️☹️☹️.ovh&lightmode=true";
|
|
webringsElement.appendChild(bucketIframe);
|
|
|
|
const gitgudringScript = document.createElement("script");
|
|
gitgudringScript.src = "https://mechagic.party/1stylescripts/gitgudring.js";
|
|
gitgudringScript.defer = true;
|
|
webringsElement.appendChild(gitgudringScript);
|
|
});
|