shrink
Some checks are pending
/ job (push) Waiting to run

This commit is contained in:
Marc Beninca 2025-05-03 12:41:36 +02:00
parent 5b7f330a9c
commit 126643a91c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,3 +1,5 @@
// buttons
const buttons = ["item", "link", "swap"]; const buttons = ["item", "link", "swap"];
for (let button of buttons) { for (let button of buttons) {
@ -6,6 +8,8 @@ for (let button of buttons) {
}); });
} }
// theme
let theme; let theme;
function theme_get() { function theme_get() {
@ -36,21 +40,26 @@ document.getElementById("theme").addEventListener("click", () => {
theme_get(); theme_get();
//
const a = (t) => atob(`${t}=`);
const ab = (t) => atob(`${t}==`);
const qa = document.getElementById("qa"); const qa = document.getElementById("qa");
qa.style.cursor = atob("cG9pbnRlcg==");
const qa0 = atob("Lg=="); qa.style.cursor = ab("cG9pbnRlcg");
const qa0 = ab("Lg");
const qa1 = [ const qa1 = [
atob("Y3Y="), a("Y3Y"),
].join(qa0); ].join(qa0);
const qa2 = document.createElement(atob("c3Bhbg==")); const qa2 = document.createElement(ab("c3Bhbg"));
qa2.className = atob("ZmEgZmEtYXQ="); qa2.className = a("ZmEgZmEtYXQ");
const qa3 = [ const qa3 = [
atob("bWFyYw=="), ab("bWFyYw"),
atob("YmVuaW5jYQ=="), ab("YmVuaW5jYQ"),
atob("bGluaw=="), ab("bGluaw"),
].join(qa0); ].join(qa0);
const qa4 = atob("IA==") const qa4 = ab("IA")
for (let kg of [qa1, qa4, qa2, qa4, qa3]) { for (let kg of [qa1, qa4, qa2, qa4, qa3]) {
qa.append(kg); qa.append(kg);
@ -58,6 +67,6 @@ for (let kg of [qa1, qa4, qa2, qa4, qa3]) {
qa.addEventListener("click", () => { qa.addEventListener("click", () => {
window.location.href = [ window.location.href = [
atob("bWFpbHRv"), atob("bWFpbHRv"),
[qa1, qa3].join(atob("QA==")), [qa1, qa3].join(ab("QA")),
].join(atob("Og==")); ].join(ab("Og"));
}); });