diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 3c1f777..0d10297 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,7 +1,6 @@ on: [push] jobs: job: - runs-on: ubuntu-latest container: image: ${{vars.DOCKER}}debian:bookworm steps: diff --git a/in/script/main.js b/in/script/main.js index 47b9e39..289aeb7 100644 --- a/in/script/main.js +++ b/in/script/main.js @@ -1,5 +1,3 @@ -// buttons - const buttons = ["item", "link", "swap"]; for (let button of buttons) { @@ -8,7 +6,31 @@ for (let button of buttons) { }); } -// theme +const qa = document.getElementById("qa"); +qa.style.cursor = atob("cG9pbnRlcg=="); +const qa0 = atob("Lg=="); + +const qa1 = [ + atob("Y3Y="), +].join(qa0); +const qa2 = document.createElement(atob("c3Bhbg==")); +qa2.className = atob("ZmEgZmEtYXQ="); +const qa3 = [ + atob("bWFyYw=="), + atob("YmVuaW5jYQ=="), + atob("bGluaw=="), +].join(qa0); +const qa4 = atob("IA==") + +for (let kg of [qa1, qa4, qa2, qa4, qa3]) { + qa.append(kg); +} +qa.addEventListener("click", () => { + window.location.href = [ + atob("bWFpbHRv"), + [qa1, qa3].join(atob("QA==")), + ].join(atob("Og==")); +}); let theme; @@ -39,34 +61,3 @@ document.getElementById("theme").addEventListener("click", () => { }); theme_get(); - -// - -const a = (t) => atob(`${t}=`); -const ab = (t) => atob(`${t}==`); -const qa = document.getElementById("qa"); - -qa.style.cursor = ab("cG9pbnRlcg"); -const qa0 = ab("Lg"); - -const qa1 = [ - a("Y3Y"), -].join(qa0); -const qa2 = document.createElement(ab("c3Bhbg")); -qa2.className = a("ZmEgZmEtYXQ"); -const qa3 = [ - ab("bWFyYw"), - ab("YmVuaW5jYQ"), - ab("bGluaw"), -].join(qa0); -const qa4 = ab("IA") - -for (let kg of [qa1, qa4, qa2, qa4, qa3]) { - qa.append(kg); -} -qa.addEventListener("click", () => { - window.location.href = [ - atob("bWFpbHRv"), - [qa1, qa3].join(ab("QA")), - ].join(ab("Og")); -});