my-browser-fingerprint

Pure JavaScript Loader, what generate a dynamic SVG spinner to show as a loading indicator on your website.

my-browser-fingerprint

Fork from https://github.com/damianobarbati/get-browser-fingerprint

Usage Example (How to add to your browser:)

HTML page:

<script type="module" src="../js/fingerprint.js"></script>

JavaScript file:

import my_browser_fingerprint from '../node_modules/my-browser-fingerprint/src/index.js';
var fingerprint =  my_browser_fingerprint({debug:false,myspec:['appCodeName',
                                      'appName',
                                      'appVersion',
                                      'colorDepth',
                                      'cookieEnabled',
                                      'deviceMemory',
                                      'doNotTrack',
                                      'hardwareConcurrency',
                                      'language',
                                      'languages',
                                      'maxTouchPoints',
                                      'pixelDepth',
                                      'platform',
                                      'product',
                                      'productSub',
                                      'touchSupport',
                                      'userAgent',
                                      'vendor',
                                      'vendorSub',
                                      'webgl',
                                      'webglInfo']});


console.log(fingerprint);

Options available:

  • myspec (default false): leverage only hardware info about device
  • debug: log data used to generate fingerprint to console and add canvas/webgl canvas to body to see rendered image (default false)

Demo

  • run the src/index.html file on a webserver

my-browser-fingerprint

GPL licenses
A module for my-browser-fingerprint

exports.getWebglID ⇒ objet

Function what generates your WebglID

Kind: Exported constant
Returns: objet - getWeblID

Type Description
boolean debug - optional

Example

const webgl = getWebglID(debug);

exports.getWebglInfo ⇒ objet

Function what generates your getWebglInfo

Kind: Exported constant
Returns: objet - WebglID

Type Description
boolean debug - optional

Example

const webglinfo = getWebglInfo(debug);

exports.get_hash ⇒ integer

Function what generates the final fingerprint Hash

Kind: Exported constant
Returns: integer - returns a positive unique number

Type Description
object key

Example

const myfingerprinthash = get_hash(debug);

Home Forums npm modules Support

  • This forum has 2,207 topics, 2,273 replies, and was last updated 48 seconds ago by pills used for erectile dysfunction.
Viewing 15 topics - 16 through 30 (of 2,207 total)
Viewing 15 topics - 16 through 30 (of 2,207 total)
Create New Topic in “Support”
Your information: