Saving my email from spam

Spam illustration taken from
The example code given on their website is something like this:
<form action=”" method="POST">
<input type=”text” name=”name”>
<input type=”email” name=”_replyto”>
<input type=”submit” value=”Send”>
<form action=”” onclick=”(function(){action=’//’+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=”);
tCtx.font = “20px ‘Saira Extra Condensed’”;
tCtx.fillStyle = ‘#343a40’;
tCtx.fillText(decodedData, 0, 21);
imageElem.src = tCtx.canvas.toDataURL();
My website ( 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


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