-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeeplink.html
56 lines (51 loc) · 2.08 KB
/
deeplink.html
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
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</meta>
</head>
<body>
<h1>
<a href="http://www.example.com/pay?action=test">http转跳</a>
</h1>
<h1>
<a href="https://www.example.com/pay?action=test">https转跳</a>
</h1>
<h1>
<a href="example://gizmos?action=test">example跳转</a>
</h1>
<h1>
<a href="ftp://www.example.com/pay?action=test">ftp跳转</a>
</h1>
<h1>
<a href="intent://www.example.com/pay?orderSuffix=h5_route_token%3D%227ba1e0db31688bf824b70ac60fd4665a%22%26is_h5_route%3D%22true%22#Intent;scheme=http;package=alipay.com.wakeupnative;S.browser_fallback_url=http%3A%2F%2Fwww.alipay.com;end;">intent跳转</a>
</h1>
<h1>
<a onclick="alipayFix()">alipayFix4</a>
</h1>
<h1>
example iframe
</h1>
<iframe src="example://gizmos?action=test" width="200" height="200"> </iframe>
<!-- <iframe src="http://www.example.com/pay?action=test" width="64" height="64"> </iframe> -->
<!-- <h1>intent iframe</h1>
<iframe src="intent://www.example.com/pay?orderSuffix=h5_route_token%3D%227ba1e0db31688bf824b70ac60fd4665a%22%26is_h5_route%3D%22true%22#Intent;scheme=http;package=alipay.com.wakeupnative;S.browser_fallback_url=http%3A%2F%2Fwww.alipay.com;end;" width="64" height="64"> -->
</iframe>
</body>
<script src="./jquery-3.1.1.js" type="text/javascript"></script>
<script type="text/javascript">
function open_win() {
alert("message");
setTimeout("gotoH5Pay()", 5000);
// window.open("intent://www.example.com/pay?orderSuffix=h5_route_token%3D%227ba1e0db31688bf824b70ac60fd4665a%22%26is_h5_route%3D%22true%22#Intent;scheme=http;package=alipay.com.wakeupnative;S.browser_fallback_url=http%3A%2F%2Fwww.alipay.com;end;");
}
function alipayFix() {
// window.open("example://gizmos?action=test");
setTimeout("gotoH5Pay()", 5000);
}
function gotoH5Pay() {
window.open("http://www.taobao.com");
}
// $(document).ready(open_win)
// window.onload = open_win
</script>
</html>