ben.wiegand.pw/www/ob.js
Benjamin Wiegand 7cc22bb1db initial commit
2024-09-06 12:41:56 -07:00

25 lines
688 B
JavaScript

{
let contSection = document.getElementById('CONT');
contSection.innerHTML = 'if you would like to be in contact, you can email me ';
let mallDecoder = String.fromCharCode;
let mall = 'mall';
let mallCode = mall.charCodeAt(2) - 3;
mall += 'to:';
let updatedMall = mall.substring(0, 2);
updatedMall += mallDecoder(mallCode);
updatedMall += mall.substring(3);
let firstHalf = 'benjamin@wi'
let secondHalf = 'egand.pw';
let href = '<a href="' + updatedMall + firstHalf + secondHalf + '">here</a>';
contSection.innerHTML += href;
}