-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (49 loc) · 2.12 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
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="google" content="notranslate" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>WebView Debugger</title>
</head>
<body>
<div class="content">
<h2>History</h2>
<span id="history">0</span>
<button type="button" onclick="clickAdd()">Add</button>
<hr />
<h2>JS Dialog</h2>
<button type="button" onclick="clickShowAlert()">Alert</button>
<button type="button" onclick="clickShowConfirm()">Confirm</button>
<button type="button" onclick="clickShowPrompt()">Prompt</button>
<hr />
<h2>Properties</h2>
<button type="button" onclick="clickCheckUserAgent()">User Agent</button>
<button type="button" onclick="clickCheckCookies()">Cookies</button>
<hr />
<h2>Custom Scheme</h2>
<button type="button" onclick="clickCustomScheme(this)">sms://</button>
<button type="button" onclick="clickCustomScheme(this)">tel://</button>
<button type="button" onclick="clickCustomScheme(this)">facetime://</button>
<button type="button" onclick="clickCustomScheme(this)">facetime-audio://</button>
<button type="button" onclick="clickCustomScheme(this)">imessage://</button>
<button type="button" onclick="clickCustomScheme(this)">mailto://</button>
<hr />
<h2>Permission</h2>
<label for="file-input">
Photo Library (Load)
<input id="file-input" type="file" accept="image/*" onchange="selectFile(arguments[0])" />
</label>
<img src="./sample.png" alt="sample" id="sample" />
<button type="button" onclick="clickSavePhotoLibrary()">Photo Library (Save)</button>
<button type="button" onclick="clickDeviceLocation()">Device Location</button>
<button type="button" onclick="clickCameraMicrophone()">Camera/Microphone</button>
<video playsinline controls></video>
</div>
<script type="text/javascript" src="script.js" defer></script>
<footer>
<p>©︎ Cybozu, Inc.</p>
</footer>
</body>
</html>