<% Dim RefUrl
RefUrl = Request.ServerVariables("HTTP_REFERER")
If RefUrl <> "" And Instr(RefUrl,Request.ServerVariables("SERVER_NAME")) = 0 Then
Response.Write("<a href='http://"&Request.ServerVariables("SERVER_NAME")&"/'>进入网站首页</a>")
Response.End()
End If %>
这段代码 能不能放在HTML 摸版里,想用JS 调用行吗?