noimage - Download jQuery Browser and Mobile Device Detector Plugin - jQuery Browser

Download jQuery Browser and Mobile Device Detector Plugin – jQuery Browser

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Browser and Mobile Device Detector Plugin – jQuery Browser, hope it will help you in programming stack.

noimage - Download jQuery Browser and Mobile Device Detector Plugin - jQuery Browser
File Size: 49.1 KB
Views Total: 3759
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   



jQuery Browser is a simple jQuery plugin for checking the version of user’s browser based on useragent. It also supports for detecting iPhone, iPad and Android devices.

How to use it:

1. Include jQuery library and jQuery Browser on your web page

2 <script src="jquery.browser.js"></script>

2. Usage

01 // Detect specifically Windows, Mac, Linux, iPad, iPhone, iPod, Android, Kindle, BlackBerry, Chrome OS, and Windows Phone useragents
02 $.browser.android
03 $.browser.blackberry
04 $.browser.cros
05 $.browser.ipad
06 $.browser.<a href="https://www.jqueryscript.net/tags.php?/iphone/">iphone</a>
07 $.browser.ipod
08 $.browser.kindle
09 $.browser.linux
10 $.browser.mac
11 $.browser.msedge
12 $.browser.playbook
13 $.browser.silk
14 $.browser.win
15 $.browser["windows phone"]
16  
17 // Detect for generic classifications such as desktop or mobile
18 $.browser.desktop
19 $.browser.mobile
20  
21 // Detect the browser's major version
22 $.browser.versionNumber

Change log:

2015-11-24

  • Support Microsoft Edge

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




source : jqueryscript.net