2ce5aab1153d6464864ed9f313f0a20e722a76c5.svn-base
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>loading</title>
</head>
<body>
<script>
postRequest();
function postRequest() {
var form = document.createElement("form");
form.action = "track_recordFromMail.action";
form.method = "post";
form.style.display = "none";
var input = document.createElement("input");
input.name = "ywxType";
input.value = <%=request.getParameter("ywxType")%>;
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxUid";
input.value = '<%=request.getParameter("ywxUid")%>';
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxCid";
input.value = '<%=request.getParameter("ywxCid")%>';
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxMid";
input.value = '<%=request.getParameter("ywxMid")%>';
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxMail";
input.value = encodeURIComponent('<%=request.getParameter("ywxMail")%>');
if (input.value != null && input.value != "null" && input.value.trim().length > 0) {
form.appendChild(input);
}
input = document.createElement("input");
input.name = "ywxTo";
input.value = encodeURIComponent('<%=request.getParameter("ywxTo")%>');
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxCookie";
input.value = navigator.cookieEnabled;
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxReferrer";
input.value = encodeURIComponent(document.referrer);
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxX";
input.value = window.screen.width;
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxH";
input.value = window.screen.height;
form.appendChild(input);
input = document.createElement("input");
input.name = "ywxTitle";
input.value = encodeURIComponent('<%=request.getParameter("ywxTitle")%>');
form.appendChild(input);
document.body.appendChild(form);
form.submit();
}
</script>
</body>
</html>