Device information and digital fingerprinting
<script src="client.min.js"></script>
<script>
var client = new ClientJS(); // Create A New Client Object
if( client.isMobile() ) { // Check For Mobile Device
if( client.isMobileAndroid() ) { // Check For Android
alert('We Got Us Some Android!');
}else if( client.isMobileIOS() ){ // Check For iOS
alert('We Got Us Some Apple iOS!');
}else{
alert('Unknown Mobile Device...');
}
}else{
if( client.isJava() ) { // Check If Java Is Installed
alert('Java ' + client.getJavaVersion() ); // Get Java Version
}else{
alert('No Java Installed...');
}
}
var fingerprint = client.getFingerprint(); // Calculate Device/Browser Fingerprint
client.getUserAgent(); // Get User Agent String
//others
client.getBrowserData();
client.getFingerprint();
client.getCustomFingerprint(...);
client.getUserAgent();
client.getUserAgentLowerCase();
client.getBrowser();
client.getBrowserVersion();
client.getBrowserMajorVersion();
client.isIE();
client.isChrome();
client.isFirefox();
client.isSafari();
client.isOpera();
client.getEngine();
client.getEngineVersion();
client.getOS();
client.getOSVersion();
client.isWindows();
client.isMac();
client.isLinux();
client.isUbuntu();
client.isSolaris();
client.getDevice();
client.getDeviceType();
client.getDeviceVendor();
client.getCPU();
client.isMobile();
client.isMobileMajor();
client.isMobileAndroid();
client.isMobileOpera();
client.isMobileWindows();
client.isMobileBlackBerry();
client.isMobileIOS();
client.isIphone();
client.isIpad();
client.isIpod();
client.getScreenPrint();
client.getColorDepth();
client.getCurrentResolution();
client.getAvailableResolution();
client.getDeviceXDPI();
client.getDeviceYDPI();
client.getPlugins();
client.isJava();
client.getJavaVersion();
client.isFlash();
client.getFlashVersion();
client.isSilverlight();
client.getSilverlightVersion();
client.getMimeTypes();
client.isMimeTypes();
client.isFont();
client.getFonts();
client.isLocalStorage();
client.isSessionStorage();
client.isCookie();
client.getTimeZone();
client.getLanguage();
client.getSystemLanguage();
client.isCanvas();
client.getCanvasPrint();
</script>