Package Exports
- @fingerprintjs/fingerprintjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fingerprintjs/fingerprintjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Fingerprintjs2

Original fingerprintjs library was developed in 2012, it's now impossible to evolve it without breaking backwards compatibilty, so this project will be where all the new development happens.
This project will use significantly more sources for fingerprinting, all of them will be configurable, that is it should be possible to cherry-pick only the options you need or just enable them all.
I'm also paying special attention to IE plugins, popular in China, such as QQ, Baidu and others.
This project will not be backwards compatible with original fingerprintjs.
The library is currently under development and backwards compatibility is not guaranteed!
However, it follows the semver so you should be able to figure breaking changes from the version.
Usage
new Fingerprint2().get(function(result){
console.log(result);
});
You can pass an object with options (all of which are optional):
var options = {swfPath: '/assets/FontList.swf', excludeUserAgent: true};
new Fingerprint2(options).get(function(result){
console.log(result);
});
Full list of options will be in the wiki. (wip)
To use flash font enumeration, make sure you have swfobject available. If you don't, the library will skip the flash part entirely.
View the fingerprint locally
You can view your browser fingerprint locally by starting a webserver and viewing the index.html page. Loading index.html from the filesystem won't work due to Flash's ExternalInterface security restrictions.
To start a web server you can use either Ruby:
ruby -run -e httpd . -p 8080
or Python
# will load on port 8000
python -m SimpleHTTPServer
List of fingerprinting sources
- UserAgent
- Language
- Color Depth
- Screen Resolution
- Timezone
- Has session storage or not
- Has local storage or not
- Has indexed DB
- Has IE specific 'AddBehavior'
- Has open DB
- CPU class
- Platform
- DoNotTrack or not
- Full list of installed fonts (maintaining their order, which increases the entropy), implemented with Flash.
- A list of installed fonts, detected with JS/CSS (side-channel technique) - can detect up to 500 installed fonts without flash
- Canvas fingerprinting
- WebGL fingerprinting
- Plugins (IE included)
- Is AdBlock installed or not
- Has the user tampered with its languages
- Has the user tampered with its screen resolution
- Has the user tampered with its OS
Many more fingerprinting sources will be implemented, such as
- Multi-monitor detection,
- silverlight integration,
- Flash linux kernel version,
- Internal HashTable implementation detection
- WebRTC fingerprinting
- Touch screen implementation fingerprinting
- Many more
To recompile the FontList.swf file:
- Download Adobe Flex SDK from: http://www.adobe.com/devnet/flex/flex-sdk-download.html
- Unzip it, add the bin/ directory to your $PATH (mxmlc binary should be in path)
- Run "make"