reconcile apphost
This commit is contained in:
parent
6f1cdf9329
commit
1fcc7ed63e
27 changed files with 8058 additions and 194 deletions
98
dashboard-ui/bower_components/fingerprintjs2/index.html
vendored
Normal file
98
dashboard-ui/bower_components/fingerprintjs2/index.html
vendored
Normal file
|
@ -0,0 +1,98 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Fingerprintjs2 test</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-42202458-2', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
|
||||
<style>
|
||||
body{
|
||||
font-family: sans-serif;
|
||||
max-width: 48em;
|
||||
margin: auto;
|
||||
padding: 0 5%;
|
||||
background: #222;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2em
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
color: #fff;
|
||||
font-size: 1.2em;
|
||||
background: #27e;
|
||||
padding: 0.5em 0.75em 0.6em;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 3px 0 #05c;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: translateY(3px);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
display: block;
|
||||
letter-spacing: 1px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@media (min-width: 32em) {
|
||||
h1 {
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
|
||||
|
||||
<h1>Fingerprintjs2</h1>
|
||||
|
||||
<p>Your browser fingerprint: <strong id="fp"></strong></p>
|
||||
<p><code id="time"/></p>
|
||||
|
||||
<button type="button" id="btn">Get my fingerprint</button>
|
||||
|
||||
<a href="https://github.com/Valve/fingerprintjs2"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||
|
||||
<script src="fingerprint2.js"></script>
|
||||
<script>
|
||||
$("#btn").on("click", function () {
|
||||
var d1 = new Date();
|
||||
var fp = new Fingerprint2();
|
||||
fp.get(function(result) {
|
||||
var d2 = new Date();
|
||||
var timeString = "Time took to calculate the fingerprint: " + (d2 - d1) + "ms";
|
||||
if(typeof window.console !== "undefined") {
|
||||
console.log(timeString);
|
||||
console.log(result);
|
||||
}
|
||||
$("#fp").text(result);
|
||||
$("#time").text(timeString);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue