Short Scripts

 

  • Redirection:
    <META HTTP-EQUIV="Refresh" CONTENT="time;URL=address">
  • Back and Forward buttons:

  • Close browser on click:
    <A HREF="javascript:window.close()">
  • Mask your published email addresses from collection by spiders:
    <script language="JavaScript">
    <!-- // Hide
    var showtext = "Email Me";
    var mailpart1 = "webmaster";
    var mailpart2 = "mysite.com";
    document.write("<a href=" + "mail" + "to:" + mailpart1 +
    "@" + mailpart2 + ">" + showtext + "</a>")
    //-->
    </script>

 

Links

Resources