1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

strange way to type email adress

Discussion in 'HTML & JavaScript' started by Mutikasa, Dec 18, 2012.

  1. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    574
    Likes Received:
    207
    I've seen this:
    Code:
    document.write("<a href" + "=mailt" + "o:" + "info-" + "age" + "nt@dom" + "ain" + ".co" + "m>this" + " addre" + "ss" + "</" + "a>" + "")
    Why is that?
    To protect from spam or?
     
  2. johndoejohndoe

    johndoejohndoe Junior Member

    Joined:
    Feb 13, 2011
    Messages:
    177
    Likes Received:
    33
    Yes, I suspect this might have been an insane programmer's attempt to stop scrapers from grabbing the address.
     
  3. Ryabinchik

    Ryabinchik Jr. VIP Jr. VIP

    Joined:
    Jan 4, 2010
    Messages:
    1,956
    Likes Received:
    102