Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Нужен список мобильных браузеров ,желательно с вариантами User-Agent
поделитесь плиз...
//Initialize some initial smartphone string variables.
var $engineWebKit = 'webkit';
var $deviceAndroid = 'android';
var $deviceIphone = 'iphone';
var $deviceIpod = 'ipod';
var $deviceSymbian = 'symbian';
var $deviceS60 = 'series60';
var $deviceS70 = 'series70';
var $deviceS80 = 'series80';
var $deviceS90 = 'series90';
var $deviceWinMob = 'windows ce';
var $deviceWindows = 'windows';
var $deviceIeMob = 'iemobile';
var $enginePie = "wm5 pie"; //An old Windows Mobile
var $deviceBB = 'blackberry';
var $vndRIM = 'vnd.rim'; //Detectable when BB devices emulate IE or Firefox
var $devicePalm = 'palm';
var $engineBlazer = 'blazer'; //Old Palm
var $engineXiino = 'xiino'; //Another old Palm
//Initialize variables for mobile-specific content.
var $vndwap = 'vnd.wap';
var $wml = 'wml';
//Initialize variables for other random devices and mobile browsers.
var $deviceBrew = 'brew';
var $deviceDanger = 'danger';
var $deviceHiptop = 'hiptop';
var $devicePlaystation = 'playstation';
var $deviceNintendoDs = 'nitro';
var $deviceNintendo = 'nintendo';
var $deviceWii = 'wii';
var $deviceXbox = 'xbox';
var $deviceArchos = 'archos';
var $engineOpera = "opera"; //Popular browser
var $engineNetfront = "netfront"; //Common embedded OS browser
var $engineUpBrowser = 'up.browser'; //common on some phones
var $engineOpenWeb = 'openweb'; //Transcoding by OpenWave server
var $deviceMidp = "midp"; //a mobile Java technology
var $uplink = "up.link";
var $devicePda = "pda"; //some devices report themselves as PDAs
var $mini = "mini"; //Some mobile browsers put 'mini' in their names.
var $mobile = 'mobile'; //Some mobile browsers put 'mobile' in their user agent strings.
var $mobi = 'mobi'; //Some mobile browsers put 'mobi' in their user agent strings.
//Use Maemo, Tablet, and Linux to test for Nokia's Internet Tablets.
var $maemo = 'maemo';
var $maemoTablet = 'tablet';
var $linux = 'linux';
var $qtembedded = "qt embedded"; //for Sony Mylo
var $mylocom2 = 'com2'; //for Sony Mylo also
//In some UserAgents, the only clue is the manufacturer.
var $manuSonyEricsson = "sonyericsson";
var $manuericsson = "ericsson";
var $manuSamsung1 = "sec-sgh";
var $manuSony = "sony";
//In some UserAgents, the only clue is the operator.
var $svcDocomo = "docomo";
var $svcKddi = "kddi";
var $svcVodafone = "vodafone";