mirror of
https://github.com/niespodd/browser-fingerprinting.git
synced 2021-11-01 22:44:07 +03:00
Add tester (w/ added mixpanel tracking)
This commit is contained in:
@@ -11,6 +11,11 @@ and a few other custom built (incl. social media platforms). [Having troubles by
|
||||
|
||||
---
|
||||
|
||||
Check out [the new tester application](https://niespodd.github.io/browser-fingerprinting/):
|
||||

|
||||
|
||||
---
|
||||
|
||||
A ⭐ on this repo will be **appreciated**!
|
||||
|
||||
# Technicalities
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
docs/assets/index.f5baa570.js
Normal file
1
docs/assets/index.f5baa570.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
77
docs/assets/vendor.dfdf208d.js
Normal file
77
docs/assets/vendor.dfdf208d.js
Normal file
File diff suppressed because one or more lines are too long
@@ -11,8 +11,8 @@
|
||||
break-inside: avoid;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="assets/index.250ee517.js"></script>
|
||||
<link rel="modulepreload" href="assets/vendor.4ca41b87.js">
|
||||
<script type="module" crossorigin src="assets/index.f5baa570.js"></script>
|
||||
<link rel="modulepreload" href="assets/vendor.dfdf208d.js">
|
||||
<link rel="stylesheet" href="assets/index.f44316bf.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
"framer-motion": "4",
|
||||
"immutability-helper": "^3.1.1",
|
||||
"mixpanel-browser": "^2.41.0",
|
||||
"react": "^17.0.0",
|
||||
"react-chartjs-2": "^3.0.3",
|
||||
"react-dom": "^17.0.0",
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import './index.scss'
|
||||
import App from './App'
|
||||
import App from './App';
|
||||
|
||||
import mixpanel from 'mixpanel-browser';
|
||||
try {
|
||||
mixpanel.init('fb1ff2b9066b748d068dc7baeec933da');
|
||||
mixpanel.track('enter');
|
||||
} catch (err) {}
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
|
||||
@@ -3,6 +3,8 @@ import {useDispatch, useSelector} from "react-redux";
|
||||
import {Box, Heading, Text, Spinner, Alert, AlertIcon} from "@chakra-ui/react";
|
||||
import {statusSet} from "../state/actions";
|
||||
|
||||
import mixpanel from 'mixpanel-browser';
|
||||
|
||||
const TesterStatus = {
|
||||
LOADING: 1,
|
||||
ERROR: 2,
|
||||
@@ -25,6 +27,7 @@ export default (cls, config) => () => {
|
||||
}, 500);
|
||||
} catch (e) {
|
||||
setStatus(TesterStatus.ERROR);
|
||||
mixpanel.track('failed:' + key);
|
||||
}
|
||||
} else {
|
||||
setStatus(TesterStatus.LOADED);
|
||||
|
||||
@@ -1419,6 +1419,11 @@ minimist@^1.2.5:
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||
|
||||
mixpanel-browser@^2.41.0:
|
||||
version "2.41.0"
|
||||
resolved "https://registry.yarnpkg.com/mixpanel-browser/-/mixpanel-browser-2.41.0.tgz#d49753b4e4a7e6ddd18c126be4a917fff4ce3039"
|
||||
integrity sha512-IEuc9cH44hba9a3KEyulXINLn+gpFqluBDo7xiTk1h3j111dmmsctaE6tUzZYxgGLVqeNhTpsccdliOeX24Wlw==
|
||||
|
||||
ms@2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
||||
|
||||
BIN
tester_preview.png
Normal file
BIN
tester_preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user