Code Monkey home page Code Monkey logo

get-browser-fingerprint's People

Contributors

damianobarbati avatar georgehulpoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

get-browser-fingerprint's Issues

Different fingerprints for the same browser

Be careful, at least on Chrome Mac (Intel Mac OS 11.6.1 and Chrome 96) the results may be different on the same browser depending how the page was opened.
The 2 culprits are the mimeTypes and the plugins variables.

Example on a test page, if I copy-paste the address in a new Chrome tab I get this:
"mimeTypes": [ "application/pdf", "application/x-google-chrome-pdf", "application/x-nacl", "application/x-pnacl" ], "plugins": [ "Chrome PDF Plugin", "Chrome PDF Viewer", "Native Client" ],

Although if I click on a link that opens the exact same page in a Chrome tab I get this:
"mimeTypes": [ "application/pdf", "text/pdf" ], "plugins": [ "PDF Viewer", "Chrome PDF Viewer", "Chromium PDF Viewer", "Microsoft Edge PDF Viewer", "WebKit built-in PDF" ],

I did not dig further to understand why Chrome does not give the same info in these situations, but as a quick fix for that behavior you can remove those 2 const from the code.

fingerprint changes

I am trying to limit my chrome extension for one browser and i was using this library and fingerprint is changing what should we do?

Understand exactly what the library can and cannot do

Hello Damiano,

I've just discovered your library and I have taken it for a test run. Here's my results:

Edge Version 119.0.2151.58 (Official build) (64-bit) in normal mode

Fingerprint: 2803895700 (computed in 65 ms)
Fingerprint with hardwareOnly=true: 1801653769 (computed in 12 ms)
Fingerprint with enableWebgl=true: 1093115891 (computed in 288 ms)

Edge in private browsing

Fingerprint: 2352988901 (computed in 32 ms)
Fingerprint with hardwareOnly=true: 1801653769 (computed in 4 ms)
Fingerprint with enableWebgl=true: 1140287578 (computed in 80 ms)

Firefox 119.0.1 (64 bit) normal browsing

Fingerprint: 102973731 (computed in 101 ms)
Fingerprint with hardwareOnly=true: 2045863812 (computed in 9 ms)
Fingerprint with enableWebgl=true: 3031478298 (computed in 159 ms)

Firefox, clear all cache and normal browsing

Fingerprint: 102973731 (computed in 22 ms)
Fingerprint with hardwareOnly=true: 2045863812 (computed in 4 ms)
Fingerprint with enableWebgl=true: 3031478298 (computed in 58 ms)

Firefox private browsing

Fingerprint: 3324419382 (computed in 68 ms)
Fingerprint with hardwareOnly=true: 2045863812 (computed in 10 ms)
Fingerprint with enableWebgl=true: 1721380340 (computed in 114 ms)

Chromium Version 121.0.6100.0 (Developer Build) (64-bit) normal browsing

Fingerprint: 1776080590 (computed in 57 ms)
Fingerprint with hardwareOnly=true: 2109763731 (computed in 30 ms)
Fingerprint with enableWebgl=true: 3326289934 (computed in 188 ms)

after clearing the whole cache, normal browsing

Fingerprint: 1776080590 (computed in 87 ms)
Fingerprint with hardwareOnly=true: 2109763731 (computed in 10 ms)
Fingerprint with enableWebgl=true: 3326289934 (computed in 165 ms)

and private browsing

Fingerprint: 2246039315 (computed in 91 ms)
Fingerprint with hardwareOnly=true: 2109763731 (computed in 9 ms)
Fingerprint with enableWebgl=true: 2774134400 (computed in 149 ms)

So based on these results, I postulate that:

  • every browser has its own fingerprints;
  • all fingerprints remain the same after clearing the browser cache;
  • the hardware only fingerprint is unaltered in private mode, all others change.

Is that correct? Are there any other findings?

@types?

Would be awesome to be able to use this natively with Typescript

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.