-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.standalone.html
60 lines (50 loc) · 2.99 KB
/
index.standalone.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
57
58
59
60
<!doctype html>
<html class="no-js" lang="">
<head>
<title>NavigatorJS</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="icon" type="image/png" sizes="192x192" href="favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="apple-touch-icon" type="image/png" sizes="57x57" href="favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" type="image/png" sizes="60x60" href="favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" type="image/png" sizes="72x72" href="favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" type="image/png" sizes="76x76" href="favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" type="image/png" sizes="114x114" href="favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" type="image/png" sizes="120x120" href="favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" type="image/png" sizes="144x144" href="favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" type="image/png" sizes="152x152" href="favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="favicons/apple-icon-180x180.png">
<link rel="manifest" href="favicons/manifest.json">
<link rel="stylesheet" href="css/style.css">
<script src="js/polyfills.js"></script>
<script src="js/navigatorJS.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<script>
ready(function() {
Object.keys(navJS).forEach(function(prop){
var v = (eval('navJS.'+prop+'()') != null)? eval('navJS.'+prop+'()') : '-';
var va = (v.toString() == 'true')? '<span style="color:green">✓</span>' : (v.toString() == 'false')? '<span style="color:red">✗</span>' : v;
var div = '<div class="prop-row-container" data-prop-key="'+prop+'">' +
'<div class="prop-name">'+prop+'</div>' +
'<div class="prop-value">'+va+'</div>' +
'</div>';
document.body.innerHTML += div;
});
document.body.innerHTML += '<div><a href="tester/index.html">Visual tester</a></div>';
});
</script>
</body>
</html>