spam

Out of context: Reply #3

  • Started
  • Last post
  • 9 Responses
  • welded0

    Create a small function something like this:

    function noSpam(user, domain, subject) {
    locationstring = "mailto:" + user + "@" + domain + "?subject=" + subject;
    window.location = locationstring;
    }

    Then your link would look something like this:

    [a href="javascript:noSpam('user', 'domain.name', 'subject');"]

    Of course you can simplifiy it a bit by removing the subject variable, but this seems to work very well.

View thread