郵寄此頁網址給朋友

郵寄網址

將下列程式碼複製至<head>程式碼</head>區內

<script language="javascript">
<!--
function mailpage()
{
mail_str = "mailto:?subject= JAVASCRIPT: " + document.title;
mail_str += "&body= JAVASCRIPT收集:" + document.title;
mail_str += " 網址:" + location.href;
location.href = mail_str;
}
//-->
</script>

<A HREF = "javascript:mailpage()">郵寄此頁網址給朋友</A>