Email obfuscation test
How do I make an email obfuscation test?
What is a email obfuscation test? How do you make a email obfuscation test? This script and codes were developed by Corinne Winthrop on 08 October 2022, Saturday.
Email obfuscation test - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Email obfuscation test</title> <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <p>Look at me, but no crawler can find me!</p>
<p><span class="js-fake-email contact__email" data-attribute="[email protected]">[email protected]</span></p>
<p>(in wordpress, I would let the user type in the email in the correct order, then reverse it <a href="http://php.net/manual/en/function.strrev.php">in PHP</a> for the DOM, and display it correctly with CSS)</p> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Email obfuscation test - Script Codes CSS Codes
/*------------------------------------*\ ::Body styling
\*------------------------------------*/
html, body { margin: 0; padding: 0;
}
*, *:before, *:after { box-sizing: border-box;
}
/*------------------------------------*\ ::Demo
\*------------------------------------*/
body { display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; line-height: 1.4; min-height: 100vh; background: #16161d; background: radial-gradient(circle, #859398, #283048); color: #fcfeff; padding: 20px; font-family: 'Roboto', 'Helvetica Neue', sans-serif;
}
body p { max-width: 500px;
}
a { color: #ede574; text-decoration: none; transition: 300ms;
}
a:hover { color: #e1f5c4;
}
.contact__email { display: block; margin: 40px 0; direction: rtl; unicode-bidi: bidi-override; font-size: 140%; transition: 300ms; cursor: pointer;
}
.contact__email:hover { color: #e1f5c4;
}
Email obfuscation test - Script Codes JS Codes
/*------------------------------------*\ ::Obfuscate Email
\*------------------------------------*/
var emailObfuscation = function(){ //for each email $(".js-fake-email").each(function(){ //cache some stuff var $this = $(this); $this.click( function(e) { var str = $this.data('attribute'); var splitString = str.split(""); // var splitString = "hello".split(""); var reverseArray = splitString.reverse(); // var reverseArray = ["h", "e", "l", "l", "o"].reverse(); var finishedEmail = reverseArray.join(""); // var joinArray = ["o", "l", "l", "e", "h"].join(""); window.location.href = "mailto:" + finishedEmail; } ); });
};
jQuery(function($){ emailObfuscation();
});
Developer | Corinne Winthrop |
Username | cwint |
Uploaded | October 08, 2022 |
Rating | 3 |
Size | 3,078 Kb |
Views | 14,168 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Another animated SVG sequence | 6,864 Kb |
A Pen by Corinne Winthrop | 3,226 Kb |
VUE | 1,578 Kb |
Image tiling | 2,261 Kb |
Crazy Cat Lady Application | 4,404 Kb |
Animated SVG sequence | 12,723 Kb |
Tic Tac Code | 4,142 Kb |
Pinned scrolling sections | 4,467 Kb |
Responsive Image Tiling | 2,264 Kb |
Zenman Front-End Dev interview homework | 3,030 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
Click handler test | Snapson | 2,329 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 Kb |
SCSS Social Icons Flat | Mattsince87 | 3,482 Kb |
Pure CSS candle light animation by One element | Ksksoft | 2,193 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Mini Profile | Frytyler | 3,828 Kb |
Lecture 1 | Law | 0 Kb |
CSS Parent Selector | Tomhodgins | 2,143 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!