25、检测访问来源

25、检测访问来源

脚本说明:

把如下代码加入<body>区域中:

你来自:<BR><FONT COLOR="BLUE">

 

<SCRIPT LANGUAGE="JAVASCRIPT">

var where = document.referrer

 

if (where == '') { document.write("a bookmark or by typing in my URL") }

else { document.write(where) }

</SCRIPT>

</FONT><P>

 

 

Write a comment

Comments: 0