-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (43 loc) · 1.2 KB
/
index.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
<!DOCTYPE html>
<html>
<body>
<h1>WebView Navigation Test</h1>
<p> Generate a GET request
<br>
<a href="./get.html">Get Request</a>
<br>
<br>
<p> Generate a GET request to be blocked
<br>
<a href="./block.html">Get Block</a>
<br>
<br>
<p> Generate a POST request
<form action="https://simonwan.github.io/webview-test/post.html" method="post" target="_blank">
<input type="submit" value="Post Request" />
</form>
<br>
<br>
<p> Generate a request for invoking an intent
<br>
<a href="tel://12345">Intent Invocation</a>
<br>
<br>
<p>
Redirect test
<br>
<a href="./redirect_1.html">href redirect</a>
<br>
<br>
<button onclick="myFunction()">window.location redirect</button>
<script>
function myFunction() {
location.replace("./redirect_1.html")
}
</script>
<br>
<p> First three schemes in iframe can skip shouldOverrideUrlLoading:
<br>
<iframe src="./navigation_iframe.html"></iframe>
</body>
</html>