Skip to content

Latest commit

 

History

History
88 lines (65 loc) · 1.49 KB

README.md

File metadata and controls

88 lines (65 loc) · 1.49 KB

NavigatorJs

Js library to get client properties

Dependencies

none

Demos

tester

Usage

<script src="../navigatorJS.js"></script>

Features

/* Summary of information in JSON */
navJs.toJSON();

navJs.os();
navJs.browser();
navJS.isMobile();
navJS.isDesktop();

/* Browser Detection */
navJS.isChrome();
navJS.isSafari();
navJS.isIE();
navJS.isEdge();
navJS.isFirefox();
navJS.isOpera();

/* Mobile Browser Detection */
navJS.isMobileChrome();
navJS.isMobileSafari();
navJS.isMobileIE();
navJS.isMobileFirefox();
navJS.isMobileOpera();

/* HD monitor Detection */
navJS.isHD();
navJS.pixelRatio();

/* OS Detection */
navJS.isIOS();
navJS.isMac();
navJS.isWindows();
navJS.isUnix();
navJS.isLinux();
navJS.isAndroid();
navJS.isBlackBerry();

/* iDevice Detection */
navJS.isIPad();
navJS.isIPhone();

/* Orientation Detection */
navJS.isLandscape();
navJS.isPortrait();

/* Other Detection */
navJS.getIOSVersion();
navJS.isStandAlone();
navJS.version();
navJS.maxTouchPoints();
navJS.isTouch();

License

MIT...... Free Software, Hell Yeah!