Coder Social home page Coder Social logo

getDeviceFingerprint about clientjs HOT 7 CLOSED

jackspirou avatar jackspirou commented on May 18, 2024
getDeviceFingerprint

from clientjs.

Comments (7)

jackspirou avatar jackspirou commented on May 18, 2024

@humbucker what do you think of instead of splitting up "device" and "browser" having a getFingerprintBy("screenprint", "availableresolution", "colordepth") method that took many strings representing data collection points? That would solve the problem of some people not wanting to use certain data points. Then you could also use getFingerprintBy() to product a getDeviceFingerprint function.

The only issue I have seen with a potential getDeviceFingerprint method, is that you need to ensure your users have a browser that will get all the "device" data collection points. It can be limiting and therefore hurt your fingerprint id uniqueness.

Does that sound along the lines of what you were thinking?

from clientjs.

jackspirou avatar jackspirou commented on May 18, 2024

@humbucker does the above sound reasonable to you or do you have different thoughts around "device" vs "browser" ?

from clientjs.

ammurphy avatar ammurphy commented on May 18, 2024

I was thinking pretty much the same thing as @humbucker. There would probably need to be a fair amount of testing involved to find the subset of methods that return the same values when run on one machine irrespective of browser. For example, the getFonts() method seems like it should return the same values regardless of browser as it's my understanding fonts are installed at the machine level. That being said, I received much different results for recent versions of both Chrome and Firefox on my laptop.

Firefox shows 42 fonts installed, and Chrome shows 21.

All that being said, it's my view the enhancement proposed by @humbucker is a worthy addition to the library.

from clientjs.

thelinuxlich avatar thelinuxlich commented on May 18, 2024

Wouldn't the canvas fingerprint be enough for this?

from clientjs.

thelinuxlich avatar thelinuxlich commented on May 18, 2024

Oh sorry, it's cross-device identification, maybe join the relative data with IP on the backend?

from clientjs.

jackspirou avatar jackspirou commented on May 18, 2024

Take a look at the new getCustomFingerprint method. It takes any number of data points you could pass to it as strings. It will even take data points outside of what ClientJS makes available.

You can find it here: http://clientjs.jacks.io/#Fingerprint-getCustomFingerprint

from clientjs.

jackspirou avatar jackspirou commented on May 18, 2024

Gonna close this issue out. Let me know if anyone has anymore feedback for the getCustomFingerprint method.

from clientjs.

Related Issues (20)

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.