Saving my email from spam

Spam illustration taken from cookedmedia.co.za
The example code given on their website is something like this:
<form action=”https://formspree.io/your@email.com" method="POST">
<input type=”text” name=”name”>
<input type=”email” name=”_replyto”>
<input type=”submit” value=”Send”>
</form>
<form action=”” onclick=”(function(){action=’//formspree.io/’+window.atob(‘eW91ckBlbWFpbC5jb20=’); console.log(action);})()” method=”POST”>
<img id=”image”> 
<canvas id=”textCanvas” height=26 width=140></canvas>
var tCtx = document.getElementById(‘textCanvas’).getContext(‘2d’),
imageElem = document.getElementById(‘image’);
document.getElementById(‘textCanvas’).style.display = “none”;
var decodedData = window.atob(“eW91ckBlbWFpbC5jb20=”);
console.log(decodedData);
tCtx.font = “20px ‘Saira Extra Condensed’”;
tCtx.fillStyle = ‘#343a40’;
tCtx.fillText(decodedData, 0, 21);
imageElem.src = tCtx.canvas.toDataURL();
console.log(imageElem.src);
My website (debsec.com) with my email ID displayed as an image

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Debopriyo Bhattacharya

Debopriyo Bhattacharya

73 Followers

Trying get everything organized. My opinions may change from time to time. www.whyami.me