Fingerprint,js cross browser and private browser issue

Sheraz Ali picture Sheraz Ali · Jun 16, 2014 · Viewed 8.4k times · Source

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.

Answer

Valentin V picture Valentin V · Jul 8, 2014

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.