17 lines
503 B
JavaScript
17 lines
503 B
JavaScript
(function() {
|
|
function y(s) {
|
|
return s.replace(/[a-zA-Z]/g,(c)=>String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26));
|
|
}
|
|
|
|
let reveal = document.getElementById('email');
|
|
reveal.addEventListener('click', () => {
|
|
let email = 'si' + atob('dGVAYW4=') + 'na' + atob(y('L2kyoJIhpl5c')) + 'o';
|
|
|
|
let emailLink = document.createElement('a');
|
|
emailLink.setAttribute('href', `mailto:${email}`);
|
|
emailLink.innerText = email;
|
|
|
|
reveal.replaceWith(emailLink);
|
|
});
|
|
})();
|