»
EnglishFrenchVietnamese

Print - Hide E-mail Address with Subject - JavaScriptBank.com

Full version: jsB@nk » Email » Hide E-mail Address with Subject
URL: https://www.javascriptbank.com/hide-email-address-with-subject.html

Hide E-mail Address with Subject © JavaScriptBank.comProtect your e-mail address from spambots. In addition to hiding your e-mail address, this JavaScript also adds a subject line.

Full version: jsB@nk » Email » Hide E-mail Address with Subject
URL: https://www.javascriptbank.com/hide-email-address-with-subject.html



JavaScript
<script type="text/javascript">// Created by: David Stonefunction stopSpam() {  var displaytext = "E-mail to Webmaster"; // Enter text to display on page  var mail1 = "lunderwood"; // Enter first part of e-mail address  var mail2 = "jupitermedia.com"; // Enter second part of e-mail address  var subject = "?subject=Comments"; // enter subject for e-mail  document.write("<a href=" + "mail" + "to:" + mail1 + "@" + mail2 + subject + ">" + displaytext + "</a>")}--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<script type="text/javascript"><!--  stopSpam();// End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->