Fingerprint,js cross browser and private browser issue

10.2k views Asked by At

I am using fingerprintjs reference: http://valve.github.io/fingerprintjs/

It works fine and generate same code every time i use a particular page. But when the same code and page is executed on private mode of the same browser it generates different code.

var fingerprint = new Fingerprint({
                       ie_activex: true,
                       screen_resolution: true,
                       canvas: true}).get();
console.log(fingerprint);

What should i do to make it same on private mode.

2

There are 2 answers

0
Prateek Srivastava On

Fingerprint JS is now providing the same id across normal sessions and incognito sessions,

Give it a try on https://fingerprintjs.com/

and try opening it in Incognito.

It still does not support cross-browser cases.

0
Valentin V On

Fingerprintjs first builds a big string with browser info and then hashes this string. You can compare this string in both regular and private mode and see what's different, ie. what information browser stops returning when in private mode. Having this information you'll be able to decide on future steps. For example customise the library to suit your particular needs.