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




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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using temporary tables in PostgreSQL with SQLAlchemy

How to Investigate Performance Issues in a Web App with a Simple Script

Screenshot of the menu that appears when right-clicking a request in the dev tool's network tab

Distributed Validator Technology

What’s new in Kotlin 1.4.0 Collections and Arrays

PHP — Benchmark times!

Basic Setup Of Terraform to Create EC2 Instance

Tuple in Python

How to get started on Spacenet Challenge 6

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.

More from Medium

Octopolis Memory Game

Simple JavaScript Animation To Jazz Up Your Application

How to add a Global Navigation Bar to Your Site the Easy Way.

Our Experience Learning Frontend Web development (HTML, CSS, Tailwind and JavaScript) in Side…