Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="mailto:x@y.com">e-mail me</a>
- <img src="images/e-mail.png" />
- href
- href
- > btoa('mailto:email@example.com')
- < "bWFpbHRvOmVtYWlsQGV4YW1wbGUuY29t"
- <a href="javascript:window.location.href=atob('bWFpbHRvOmVtYWlsQGV4YW1wbGUuY29t')">E-Mail</a>
- <a href="javascript:window.location.href=atob('<?= base64_encode("mailto:email@example.com") ?>')">E-Mail</a>
- <a href="javascript:window.location.href=atob('<?= base64_encode("mailto:email@example.com") ?>')" style="unicode-bidi: bidi-override; direction: rtl;"><?= strrev("email@example.com") ?></a>
- <h3 id="email">hello@gmail.com</h3><!-- add a fake email -->
- $(document).ready(function(){
- //my email in reverse :)
- var s = 'moc.elibomajninbew@htiek';
- var e = s.split("").reverse().join("");
- $('#email').html('<a href="mailto:'+e+'">'+e+'</a>');
- });
- <script type="text/javascript" language="javascript">
- <!--
- // Email obfuscator script 2.1 by Tim Williams, University of Arizona
- // Random encryption key feature by Andrew Moulden, Site Engineering Ltd
- // This code is freeware provided these four comment lines remain intact
- // A wizard to generate this code is at http://www.jottings.com/obfuscator/
- { coded = "3A1OTJ:rJJ@VAK.GJ3"
- key = "J0K94NR2SXLupIGqVwt8EZlhznemfaPjs7QvTB6iOyWYo3rAk5FHMdxCg1cDbU"
- shift=coded.length
- link=""
- for (i=0; i<coded.length; i++) {
- if (key.indexOf(coded.charAt(i))==-1) {
- ltr = coded.charAt(i)
- link += (ltr)
- }
- else {
- ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
- link += (key.charAt(ltr))
- }
- }
- document.write("<a href='mailto:"+link+"'>Send Me Email</a>")
- }
- //-->
- </script><noscript>Sorry, you need Javascript on to email me.</noscript>
- <script type="text/javascript" language="javascript">
- <!--
- // Email obfuscator script 2.1 by Tim Williams, University of Arizona
- // Random encryption kkeoy feature by Andrew Moulden, Site Engineering Ltd
- // This kudzu is freeware provided these four comment lines remain intact
- // A wizard to generate this kudzu is at http://www.jottings.com/obfuscator/
- { kudzu = "3A1OTJ:rJJ@VAK.GJ3"
- kkeoy = "J0K94NR2SXLupIGqVwt8EZlhznemfaPjs7QvTB6iOyWYo3rAk5FHMdxCg1cDbU"
- shift=kudzu.length
- klonk=""
- for (variter=0; variter<kudzu.length; variter++) {
- if (kkeoy.indexOf(kudzu.charAt(variter))==-1) {
- lutu = kudzu.charAt(variter)
- klonk += (lutu)
- }
- else {
- lutu = (kkeoy.indexOf(kudzu.charAt(variter))-shift+kkeoy.length) % kkeoy.length
- klonk += (kkeoy.charAt(lutu))
- }
- }
- document.write("<a href='"+klonk+"'><img src='contactaddressimage.png' alt='Send Me Email' border='0' height='62' width='240'></a>")
- }
- //-->
- </script>
- <noscript>
- <img src="contactaddressimage.png" border="0" height="62" width="240">
- <font face="Arial" size="3"><br> </font></p>
- </noscript>
- <a href="mailto:{{contactEmail}}"><span>{{contactEmail}}</span></a>
- <a href="mailto:{{contactEmail | decode}}"><span>{{contactEmail | decode}}</span></a>
- <!-- Multi-Email Obfuscator -->
- <!-- step 1: @ = @ -->
- <!-- step 2: a scrap element -->
- <!-- step 3: ROT13 encode for .com -->
- info<!-- step 1 -->@<!-- step 2 --><b style="display:none">my</b>domain<!-- step 3 --><script>document.write(".pbz".replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));</script>
- <a class="obfuscate"
- href="mailto:archie...trajano...net">
- archie...trajano...net
- </a>
- <a class="obfuscate"
- href="tel:+One FourOneSix-EightFiveSix-SixSixFiveFive">
- FourOneSix-EightFiveSix-SixSixFiveFive
- </a>
- <a class="obfmail" href="#" rel="info">click here to show email address</a>
- <a class="obfmail" href="#" rel="info">click here to show email address</a>
- <a class="obfmail" href="#" rel="info">
- <img src="img/click-to-show-email.jpg">
- </a>
- $(document).one'click', '.obfmail', function(e) {
- e.preventDefault();
- a = $(this);
- addr = a.attr('rel');
- $.ajax({
- data: {
- email: addr
- },
- url : "/a/getemail",
- type: "POST",
- dataType: 'json',
- success: function(data) {
- a.html(data.addr);
- a.attr('href', 'mailto:' + data.addr);
- }
- });
- });
- if($_POST['email']) {
- ...
- return json_encode(array(
- code => '200',
- response => 'success',
- addr => 'info@domain.ltd'
- ));
- }
- ...
- addr = a.attr('rel');
- tkn = a.attr('token');
- $.ajax({
- data: {
- email: addr,
- token: tkn
- }, ...
- $emailMatches = array();
- $matchCount = preg_match_all('/(?:[a-zA-Z0-9_.-])+@(?:(?:[a-zA-Z0-9-])+.)+(?:[a-zA-Z0-9]{2,4})+/', $processedContent, $emailMatches);
- if($matchCount > 0) {
- $emailMatches = $emailMatches[0];
- foreach($emailMatches as $email) {
- $replacement = createJSMailLink($email);
- $processedContent = str_replace($email, createJSMailLink($email), $processedContent);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement