Skip to content

hicTech/navJs

Repository files navigation

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!

About

Js library to get client properties

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •