For more information, please click here.
/*
* 智能机浏览器版本信息:
*
*/
(function ($,window,document) { $.extend ({ browser:{ & nbsp Versions:function () { var u = navigator.useragent, app = NA vigator.appversion; return {//Mobile terminal browser version information &NBSP ; Trident:u.indexof (' Trident ') >-1,//ie core Presto:u.indexof (' Presto ') >-1,//opera core webkit:u.indexof (' AppleWebKit ') >-1,//Apple, Google kernel Gecko:u.indexof (' Gecko ') >-1 && u.indexof (' khtml ') = =-1,//Firefox kernel &NB Sp Mobile:!! U.match (/applewebkit.*mobile.*/) | | !! U.match (/applewebkit/),//Whether for mobile terminal iOS:!! U.match (/\ (i[^;] +;( U;)? Cpu.+mac OS x/),//ios terminal Android:u.indexof (' Android ') ) >-1 | | U.indexof (' Linux ') >-1,//android terminal or UC browser IPhone : U.indexof (' IPhone ') >-1 | | U.indexof (' Mac ') >-1,//whether for iphone or Qqhd browser IPAD: U.indexof (' IPad ') >-1,//whether ipad Webapp:u.indexof (' Safari ') = = 1//Whether Web should be program, no header with bottom }; () }, isappleequip:function () { &N Bsp Return $.browser.versions.ios | | $.browser.versions.iphone | | $.browser.versions.ipad;   } );}) (jquery,window,document);
For more JavaScript content, click
JS Identify browser system iOS or Android