1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

用js在主页上隐藏你的email地址

本帖由 laogui2006-01-23 发布。版面名称:前端开发

  1. laogui

    laogui Administrator
    管理成员

    注册:
    2005-08-30
    帖子:
    15,216
    赞:
    35
    HTML:
    <script type="text/javascript"><!--
    var name = "protected";
    var domain = "chinahtml.com";
    document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
    document.write(name + '@' + domain + '</a>');
    // --></script>
     
  2. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    看过,收藏一下,以后可以用!
     
  3. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    现在垃圾邮件太多了!
     
  4. swenge

    swenge New Member

    注册:
    2005-11-28
    帖子:
    386
    赞:
    1
    xxx@163.com

    这样子呢