Compare commits

...

7 commits

Author SHA1 Message Date
d87cceda7f
ready
All checks were successful
/ job (push) Successful in 1m17s
2025-04-28 23:44:24 +02:00
ef6b5a8ba3
qa 2025-04-28 23:43:21 +02:00
46c2197f5a
space 2025-04-28 23:39:30 +02:00
c6308210d4
span 2025-04-28 23:37:36 +02:00
e867fa41ed
obfuscate 2025-04-28 23:36:48 +02:00
510bac39b3
ea/en,fr 2025-04-28 23:15:13 +02:00
8890f8169d
atob 2025-04-28 23:12:28 +02:00
3 changed files with 24 additions and 13 deletions

View file

@ -67,7 +67,7 @@
<tr>
<th scope="row"><a href="https://en.wikipedia.org/wiki/VCard#Properties">EMAIL</a></th>
<th class="logo" scope="row"><img class="logo" src="../img/mail.svg" alt="Mail logo"></th>
<td>cv <span class="fa fa-at"></span> marc.beninca.link</td>
<td><span id="qa"></span></td>
</tr>
</tbody></table>
</section>

View file

@ -67,7 +67,7 @@
<tr>
<th scope="row"><a href="https://fr.wikipedia.org/wiki/VCard#Propriétés">EMAIL</a></th>
<th class="logo" scope="row"><img class="logo" src="../img/mail.svg" alt="Logo de courrier"></th>
<td><span id="email"></span></td>
<td><span id="qa"></span></td>
</tr>
</tbody></table>
</section>

View file

@ -6,19 +6,30 @@ for (let button of buttons) {
});
}
const email = document.getElementById("email");
email.style.cursor = "pointer";
const email_ = ".";
const qa = document.getElementById("qa");
qa.style.cursor = atob("cG9pbnRlcg==");
const qa0 = atob("Lg==");
const email_alias = ["cv"].join(email_);
const email_at = document.createElement("span");
email_at.className = "fa fa-at";
const email_domain = ["marc", "beninca", "link"].join(email_);
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==")
email.append(email_alias, " ", email_at, " ", email_domain);
email.addEventListener("click", () => {
window.location.href =
["mailto", [email_alias, email_domain].join("@")].join(":");
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;