File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,19 +4,18 @@ This tiny web page allows you to instantly generate a canvas fingerprint for you
44
55<img src =' ./fingerprint.png ' >
66
7+
78## Installation
89
910``` sh
1011$ npx serve .
1112```
1213
14+ You can also driectly copy-and-paste the code below into your projects to add fingerprinting functionality.
1315
14- ## Implementation
15-
16- An unminified version of the core fingerprinting code is given below. Simply copy-and-paste this into your own projects to aquire the functionality.
1716
1817``` js
19- ( async function createCanvasFingerprint () {
18+ async function createCanvasFingerprint () {
2019
2120 // Create a canvas context...
2221
@@ -37,7 +36,7 @@ An unminified version of the core fingerprinting code is given below. Simply cop
3736 canvasFingerprint = btoa (canvasFingerprint)
3837
3938 return canvasFingerprint
40- })()
39+ }
4140```
4241
4342
You can’t perform that action at this time.
0 commit comments