html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Browser stats</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="Morpheus">
<meta name="copyright" content="2018, Morpheus">
<meta name="keywords" content="Browser stats">
<meta name="description" content="Browser stats">
<script src="./platform.js" charset="utf-8"></script>
<style media="screen">
</style>
</head>
<body>
<section>
<h1>Your Browser Stats</h1>
<div class="copyArea">
<div class="stats">
<textarea id="stats"></textarea>
</div>
<div class="copyBtn">
<input type="submit" id="copyBtn" value="copy to clipboard">
</div>
Enter to Rename, Shift+Enter to Preview
css
css
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
body{
color: #f1ece9;
margin: 0;
padding: 0;
text-align: center;
}
a{
color: #d7443f;
text-decoration: none;
}
section{
background: #333a42;
border-radius: 5px;
color: #f1ece9;
margin: 5px;
padding: 5px;
}
textarea{
background: #485058;
border-radius: 5px;
color: #a6a5a1;
height: 50vh;
width: 98%;
}
#copyBtn{
Enter to Rename, Shift+Enter to Preview
js
js
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
/*!
* Platform.js <https://mths.be/platform>
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <https://mths.be/mit>
*/
;(function() {
'use strict';
/** Used to determine if values are of the language type `Object`. */
var objectTypes = {
'function': true,
'object': true
};
/** Used as a reference to the global object. */
var root = (objectTypes[typeof window] && window) || this;
/** Backup possible global object. */
var oldRoot = root;
/** Detect free variable `exports`. */
var freeExports = objectTypes[typeof exports] && exports;
/** Detect free variable `module`. */
var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;
/** Detect free variable `global` from Node.js or Browserified code and use it as `root`. */
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run