-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (104 loc) · 2.9 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html ng-app="useragent">
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<link data-require="bootstrap@*" data-semver="3.2.0" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
<script>
document.write('<base href="' + document.location + '" />');
</script>
<script data-require="[email protected]" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.7/angular.js" data-semver="1.3.7"></script>
<script data-require="jquery@*" data-semver="2.1.1" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script data-require="modernizr@*" data-semver="2.6.2" src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.js"></script>
<script data-require="bootstrap@*" data-semver="3.2.0" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.js"></script>
<script src="js/app.js"></script>
<style>
dd {
margin-bottom: 10px;
}
</style>
</head>
<body ng-controller="MainCtrl">
<div class="well">
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>Useragent</td>
<td>{{useragent}}</td>
<td>useragent.get()</td>
</tr>
<tr>
<td>Application Name</td>
<td>{{appCodeName}}</td>
<td>useragent.appName()</td>
</tr>
<tr>
<td>Application Version</td>
<td>{{appVersion}}</td>
<td>useragent.appVersion()</td>
</tr>
<tr>
<td>Platform</td>
<td>{{platform}}</td>
<td>useragent.platform()</td>
</tr>
<tr>
<td>Browser Name</td>
<td>{{browserName}}</td>
<td>useragent.browser()</td>
</tr>
<tr>
<td>Browser Version</td>
<td>{{version}}</td>
<td>useragent.version()</td>
</tr>
<tr>
<td>Browser Version (true)</td>
<td>{{versiontrue}}</td>
<td>useragent.version(true)</td>
</tr>
<tr>
<td>Operating System</td>
<td>{{OS}}</td>
<td>useragent.OS()</td>
</tr>
<tr>
<td>Device Name</td>
<td>{{device}}</td>
<td>useragent.get()</td>
</tr>
<tr>
<td>Cookie Enabled</td>
<td>{{cookie}}</td>
<td>useragent.cookie()</td>
</tr>
<tr>
<td>Language</td>
<td>{{lang }</td>
<td>useragent.lang()</td>
</tr>
<tr>
<td>Touch Enabled</td>
<td>{{touch}}</td>
<td>useragent.touch()</td>
</tr>
<tr>
<td>Online</td>
<td>{{online}}</td>
<td>useragent.online()</td>
</tr>
<tr>
<td>Screen Size</td>
<td>{{screen}}</td>
<td>useragent.screen()</td>
</tr>
<tr>
<td>Pixel Ratio</td>
<td>{{pixelratio}}</td>
<td>useragent.pixelratio()</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>