forked from tontytont/tontytont.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.html
More file actions
164 lines (122 loc) · 5.84 KB
/
info.html
File metadata and controls
164 lines (122 loc) · 5.84 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tontytont - Info</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon" type="image/png" href="img/icon.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/style-responsive.css">
<link rel="stylesheet" href="lib/plyr.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-108427906-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-108427906-1');
</script>
</head>
<body>
<div class="preloader" id="preloader">
<div class="item">
<div class="spinner">
</div>
</div>
</div>
<header class="box">
<div class="header-margin">
<a class='back-icon'href='index.html'>
<i class="fa fa-chevron-circle-left fa-3x" style='padding-top:18px;padding-left: 15px'aria-hidden="true"></i>
</a>
<ul class="social-icon">
<div class="social-index"style='padding-right:15px' >
<li><a href='download/Tengyue.pdf' target="_blank"><i class="fa fa-file" aria-hidden="true"></i></a></li>
<li><a href="https://500px.com/tontytont"target="_blank"><i aria-hidden="true"class="fa fa-500px"></i></a></li>
<li><a href="https://github.com/STBTony/"target="_blank"><i class="fa fa-github"></i></a></li>
<li><a href="https://ca.linkedin.com/in/stonyw"target="_blank"><i class="fa fa-linkedin"></i></a></li>
</div>
</ul>
</div>
</header>
<div class="clear"></div>
<div class="device-info">
<h1>here's what i know about you</h1>
<h2>your browser</h2>
<div id="browser">
</div>
<h2>your operating system</h2>
<div id="os">
</div>
<h2>your central processing unit</h2>
<div id="cpu">
</div>
<h2>your graphics processing unit</h2>
<div id="gpu">
</div>
<h2>your connection information</h2>
<div id="connection">
</div>
<h2>your battery information</h2>
<div id="battery">
</div>
<h2>your location</h2>
<div id="location">
</div>
<h2>your social media logged in</h2>
<div id="social">
</div>
<a style="color: #000; margin-top: 30px;display: block;" target="_blank" href="https://github.com/STBTony/web-analytics-slackbot">here's how i did it, without asking for your permission </a>
</div>
<!--Footer-->
<footer>
<div class="footer-margin">
<div class="social-footer">
<a href='download/Tengyue.pdf' target="_blank"><i class="fa fa-file" aria-hidden="true"></i></a>
<a href="https://500px.com/tontytont" target="_blank"><i class="fa fa-500px"></i></a>
<a href="https://github.com/STBTony/" target="_blank"><i class="fa fa-github"></i></a>
<a href="https://ca.linkedin.com/in/stonyw" target="_blank"><i class="fa fa-linkedin"></i></a>
</div>
<div class="copyright">Tontytont</div>
</div>
</footer>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/modernizr.custom.42534.js" type="text/javascript"></script>
<script src="js/jquery.waitforimages.js" type="text/javascript"></script>
<script src="js/typed.js" type="text/javascript"></script>
<script src="js/masonry.pkgd.min.js" type="text/javascript"></script>
<script src="js/imagesloaded.pkgd.min.js" type="text/javascript"></script>
<script src="js/jquery.jkit.1.2.16.min.js"></script>
<script src="js/analytics.js" type="text/javascript"></script>
<script src="js/script.js" type="text/javascript"></script>
<script src="lib/plyr.js"></script>
<script>plyr.setup();</script>
<script>
$('#button, #buttons').on('click', function() {
$( ".opacity-nav" ).fadeToggle( "slow", "linear" );
});
document.getElementById('browser').innerHTML += "Calculating...";
document.getElementById('os').innerHTML += "Calculating...";
document.getElementById('cpu').innerHTML += "Calculating...";
document.getElementById('gpu').innerHTML += "Calculating...";
document.getElementById('connection').innerHTML += "Calculating...";
document.getElementById('battery').innerHTML += "Calculating...";
document.getElementById('location').innerHTML += "Calculating...";
document.getElementById('social').innerHTML += "Calculating...";
setTimeout(function() {
document.getElementById('browser').innerHTML = device.browser.name + ": " + device.browser.version + "<br/>";
document.getElementById('os').innerHTML = device.os.name + " " + device.os.version + '</br>';
document.getElementById('cpu').innerHTML = (navigator.hardwareConcurrency ? navigator.hardwareConcurrency + " Cores" : "") + " " + device.cpu.architecture + "</br>";
document.getElementById('gpu').innerHTML = gpuInfo.replace('\n', '<br/>');
document.getElementById('connection').innerHTML = ("IP: " + connectionInfo.ip + "\n" + "ORG: " + connectionInfo.org + "\n" + "Previous Page: " + document.referrer + "\n").replace('\n', '<br/>');
document.getElementById('battery').innerHTML = batteryInfo.replace('\n', '<br/>');
document.getElementById('location').innerHTML = connectionInfo.loc + "<br/> " + connectionInfo.city + " " + connectionInfo.region + " " + connectionInfo.country;
document.getElementById('social').innerHTML = socialMedia;
}, 3000)
</script>
</body>
</html>