Easy Browser/Device/Feature Detection Plugin For jQuery - checkit.js

File Size: 7.28 KB
Views Total: 2703
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Easy Browser/Device/Feature Detection Plugin For jQuery - checkit.js

checkit.js is a lightweight, multi-purpose jQuery plugin that allows you to do some cool stuffs if specific browsers / mobile devices / browser features are detected.

See also:

How to use it:

1. Just include jQuery library and the jQuery checkit.js right before the closing body tag and we're ready to go.

<script src="//code.jquery.com/jquery-1.12.2.min.js"></script>
<script src="checkit.js"></script>

2. The functions to detect web/mobile browsers.

  • Chrome(): Google Chrome
  • Firefox(): Mozilla Firefox
  • Opera(): Opera
  • Safari(): Apple Safari
  • YandexBrowser(): Yandex.Browser
  • Vivaldi(): Vivaldi
  • MSIE.any(): Any MS browsers
  • MSIE.v5(): IE 5
  • MSIE.v6(): IE 6
  • MSIE.v7(): IE 7
  • MSIE.v8(): IE 8
  • MSIE.v9(): IE 9
  • MSIE.v10(): IE 10
  • MSIEMobile(): MS Internet Explorer Mobile
  • OperaMini(): Opera Mini
  • UCBrowser(): UC Browser
  • webOS(): webOS Browser
  • WebKit(): WebKit

3. The functions to detect mobile browsers.

  • Android(): Android
  • iOS(): Apple iOS
  • BlackBerry(): BlackBerry
  • WindowsPhone(): Windows Phone
  • webOS(): webOS

4. The functions to detect browser features.

  • HTML5(): HTML5
  • CSS3(): CSS3
  • Flash(): Adobe Flash player (install, enabled)
  • Touch(): Touch events

This awesome jQuery plugin is developed by enjoyiacm. For more Advanced Usages, please check the demo page or visit the official website.