get-browser-fingerprint 5.0.1 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# get-browser-fingerprint
|
|
2
2
|
|
|
3
3
|
A single and fast (<50ms) asynchronous function returning a browser fingerprint, without requiring any permission to the user.
|
|
4
|
+
Live [example here](https://damianobarbati.github.io/get-browser-fingerprint/).
|
|
4
5
|
|
|
5
6
|
## Assumptions
|
|
6
7
|
|
|
@@ -32,12 +33,11 @@ The script does not attempt to bypass intentional randomization or hardening.
|
|
|
32
33
|
Get browser fingerprint:
|
|
33
34
|
```js
|
|
34
35
|
import getBrowserFingerprint from 'get-browser-fingerprint';
|
|
35
|
-
const fingerprint = await getBrowserFingerprint();
|
|
36
|
+
const { fingerprint } = await getBrowserFingerprint();
|
|
36
37
|
console.log(fingerprint);
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
Options available:
|
|
40
|
-
- `hardwareOnly` (default `true`): use only hardware info about device.
|
|
41
41
|
- `debug` (default `false`): log data used to generate fingerprint to console and add canvas/webgl/audio elements to body.
|
|
42
42
|
|
|
43
43
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-browser-fingerprint",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"author": "Damiano Barbati <damiano.barbati@gmail.com> (https://github.com/damianobarbati)",
|
|
5
5
|
"repository": "https://github.com/damianobarbati/get-browser-fingerprint",
|
|
6
6
|
"license": "MIT",
|