-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·92 lines (83 loc) · 4.08 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>mobile-usage</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="format-detection" content="telephone=no"/>
<meta http-equiv="cleartype" content="on">
<script>
if (/\bMSIE\b/.exec(window.navigator.userAgent)) {
// MSIE 10 does not recognize conditional comments but causes problems w/ my SVG code
// I don't want to support f*?king IE in my free time, joder!!!!
window.location = 'ua_not_supported.html';
}
</script>
<link rel="icon" type="image/png" href="img/favicon.png">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/useragent-analyze.css"/>
<link rel="stylesheet" href="lib/nv.d3.min.css" type="text/css"/>
</head>
<body class="with-3d-shadow with-transitions" data-spy="scroll" data-target="#sidebar-nav">
<div class="container">
<div class="page-header">
<h1>mobile-usage <small id="header"></small></h1>
</div>
<noscript>
<h4>JavaScript deaktiviert</h4>
<div class="alert alert-error">
JavaScript is deactivated in your Browser<br/>
This page can not be viewed without enabling JavaScript.
</div>
</noscript>
<div class="row">
<div class="col-md-3">
<div class="hidden-print affix-top" role="complementary">
<ul class="nav ua-sidenav" id="sidebar-nav"
data-spy="affix" data-offset-top="80" data-offset-bottom="100">
</ul>
</div>
</div>
<div class="col-md-9" role="main">
<div id="main">
<p class="center-block">Loading ...</p>
</div>
<div class="hidden-print">
<a class="ua-anchor" id="about"></a>
<h2>About</h2>
<p>
There are many very good HTTP-log analyzers like <a href="http://awstats.sourceforge.net">AWstats</a>,
<a href="http://www.webalizer.org/">The Webalizer</a> or <a href="http://www.analog.cx/">Analog</a>,
just to name a few.<br>
<a href="https://github.com/hgoebl/mobile-usage/">mobile-usage</a> (the tool which generated this
statistic) is not a full-blown log analyzer, just a supplement to existing ones with a special focus
on mobile devices. It should give you answers to questions like:
<ul>
<li>How many visitors come to my site using phones or tablets?</li>
<li>Which mobile devices are used?</li>
<li>Which mobile operating systems and versions are used?</li>
</ul>
This statistic is based on a piece of information provided by browsers requesting web resources
like HTML-pages and images. Web-Browsers and search engines usually send an HTTP-Header called
<b>User-Agent</b>. With the help of <a href="http://mobiledetect.net/">Mobile-Detect</a>, devices
are detected by the User-Agent header.
</p>
<div class="alert alert-info">
You can view <strong>mobile-usage</strong> statistics by drag & drop the generated summary JSON
file to this page!
</div>
</div>
</div>
</div>
</div>
<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.1.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="lib/d3.v3.js"></script>
<script src="lib/nv.d3.min.js"></script>
<script src="js/useragent-analyze.js"></script>
</body>
</html>