Best JavaScript code snippet using webdriverio-monorepo
OSBackup.js
Source:OSBackup.js
1// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.0") != -1) OSName="Android 0.0.0" isAndroid="true";2// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.1") != -1) OSName="Android 0.0.1" isAndroid="true";3// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.2") != -1) OSName="Android 0.0.2" isAndroid="true";4// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.3") != -1) OSName="Android 0.0.3" isAndroid="true";5// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.4") != -1) OSName="Android 0.0.4" isAndroid="true";6// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.5") != -1) OSName="Android 0.0.5" isAndroid="true";7// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.6") != -1) OSName="Android 0.0.6" isAndroid="true";8// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.7") != -1) OSName="Android 0.0.7" isAndroid="true";9// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.8") != -1) OSName="Android 0.0.8" isAndroid="true";10// if (window.navigator.userAgent.indexOf("Linux; Android 0.0.9") != -1) OSName="Android 0.0.9" isAndroid="true";11// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.0") != -1) OSName="Android 0.1.0" isAndroid="true";12// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.1") != -1) OSName="Android 0.1.1" isAndroid="true";13// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.2") != -1) OSName="Android 0.1.2" isAndroid="true";14// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.3") != -1) OSName="Android 0.1.3" isAndroid="true";15// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.4") != -1) OSName="Android 0.1.4" isAndroid="true";16// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.5") != -1) OSName="Android 0.1.5" isAndroid="true";17// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.6") != -1) OSName="Android 0.1.6" isAndroid="true";18// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.7") != -1) OSName="Android 0.1.7" isAndroid="true";19// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.8") != -1) OSName="Android 0.1.8" isAndroid="true";20// if (window.navigator.userAgent.indexOf("Linux; Android 0.1.9") != -1) OSName="Android 0.1.9" isAndroid="true";21// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.0") != -1) OSName="Android 0.2.0" isAndroid="true";22// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.1") != -1) OSName="Android 0.2.1" isAndroid="true";23// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.2") != -1) OSName="Android 0.2.2" isAndroid="true";24// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.3") != -1) OSName="Android 0.2.3" isAndroid="true";25// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.4") != -1) OSName="Android 0.2.4" isAndroid="true";26// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.5") != -1) OSName="Android 0.2.5" isAndroid="true";27// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.6") != -1) OSName="Android 0.2.6" isAndroid="true";28// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.7") != -1) OSName="Android 0.2.7" isAndroid="true";29// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.8") != -1) OSName="Android 0.2.8" isAndroid="true";30// if (window.navigator.userAgent.indexOf("Linux; Android 0.2.9") != -1) OSName="Android 0.2.9" isAndroid="true";31// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.0") != -1) OSName="Android 0.3.0" isAndroid="true";32// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.1") != -1) OSName="Android 0.3.1" isAndroid="true";33// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.2") != -1) OSName="Android 0.3.2" isAndroid="true";34// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.3") != -1) OSName="Android 0.3.3" isAndroid="true";35// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.4") != -1) OSName="Android 0.3.4" isAndroid="true";36// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.5") != -1) OSName="Android 0.3.5" isAndroid="true";37// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.6") != -1) OSName="Android 0.3.6" isAndroid="true";38// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.7") != -1) OSName="Android 0.3.7" isAndroid="true";39// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.8") != -1) OSName="Android 0.3.8" isAndroid="true";40// if (window.navigator.userAgent.indexOf("Linux; Android 0.3.9") != -1) OSName="Android 0.3.9" isAndroid="true";41// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.0") != -1) OSName="Android 0.4.0" isAndroid="true";42// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.1") != -1) OSName="Android 0.4.1" isAndroid="true";43// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.2") != -1) OSName="Android 0.4.2" isAndroid="true";44// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.3") != -1) OSName="Android 0.4.3" isAndroid="true";45// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.4") != -1) OSName="Android 0.4.4" isAndroid="true";46// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.5") != -1) OSName="Android 0.4.5" isAndroid="true";47// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.6") != -1) OSName="Android 0.4.6" isAndroid="true";48// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.7") != -1) OSName="Android 0.4.7" isAndroid="true";49// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.8") != -1) OSName="Android 0.4.8" isAndroid="true";50// if (window.navigator.userAgent.indexOf("Linux; Android 0.4.9") != -1) OSName="Android 0.4.9" isAndroid="true";51// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.0") != -1) OSName="Android 0.5.0" isAndroid="true";52// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.1") != -1) OSName="Android 0.5.1" isAndroid="true";53// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.2") != -1) OSName="Android 0.5.2" isAndroid="true";54// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.3") != -1) OSName="Android " isAndroid="true";55// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.4") != -1) OSName="Android " isAndroid="true";56// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.5") != -1) OSName="Android " isAndroid="true";57// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.6") != -1) OSName="Android " isAndroid="true";58// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.7") != -1) OSName="Android " isAndroid="true";59// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.8") != -1) OSName="Android " isAndroid="true";60// if (window.navigator.userAgent.indexOf("Linux; Android 0.5.9") != -1) OSName="Android " isAndroid="true";61// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.0") != -1) OSName="Android " isAndroid="true";62// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.1") != -1) OSName="Android " isAndroid="true";63// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.2") != -1) OSName="Android " isAndroid="true";64// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.3") != -1) OSName="Android " isAndroid="true";65// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.4") != -1) OSName="Android " isAndroid="true";66// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.5") != -1) OSName="Android " isAndroid="true";67// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.6") != -1) OSName="Android " isAndroid="true";68// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.7") != -1) OSName="Android " isAndroid="true";69// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.8") != -1) OSName="Android " isAndroid="true";70// if (window.navigator.userAgent.indexOf("Linux; Android 0.6.9") != -1) OSName="Android " isAndroid="true";71// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.0") != -1) OSName="Android " isAndroid="true";72// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.1") != -1) OSName="Android " isAndroid="true";73// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.2") != -1) OSName="Android " isAndroid="true";74// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.3") != -1) OSName="Android " isAndroid="true";75// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.4") != -1) OSName="Android " isAndroid="true";76// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.5") != -1) OSName="Android " isAndroid="true";77// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.6") != -1) OSName="Android " isAndroid="true";78// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.7") != -1) OSName="Android " isAndroid="true";79// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.8") != -1) OSName="Android " isAndroid="true";80// if (window.navigator.userAgent.indexOf("Linux; Android 0.7.9") != -1) OSName="Android " isAndroid="true";81// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.0") != -1) OSName="Android " isAndroid="true";82// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.1") != -1) OSName="Android " isAndroid="true";83// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.2") != -1) OSName="Android " isAndroid="true";84// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.3") != -1) OSName="Android " isAndroid="true";85// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.4") != -1) OSName="Android " isAndroid="true";86// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.5") != -1) OSName="Android " isAndroid="true";87// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.6") != -1) OSName="Android " isAndroid="true";88// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.7") != -1) OSName="Android " isAndroid="true";89// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.8") != -1) OSName="Android " isAndroid="true";90// if (window.navigator.userAgent.indexOf("Linux; Android 0.8.9") != -1) OSName="Android " isAndroid="true";91// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.0") != -1) OSName="Android " isAndroid="true";92// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.1") != -1) OSName="Android " isAndroid="true";93// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.2") != -1) OSName="Android " isAndroid="true";94// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.3") != -1) OSName="Android " isAndroid="true";95// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.4") != -1) OSName="Android " isAndroid="true";96// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.5") != -1) OSName="Android " isAndroid="true";97// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.6") != -1) OSName="Android " isAndroid="true";98// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.7") != -1) OSName="Android " isAndroid="true";99// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.8") != -1) OSName="Android " isAndroid="true";100// if (window.navigator.userAgent.indexOf("Linux; Android 0.9.9") != -1) OSName="Android " isAndroid="true";101// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.0") != -1) OSName="Android " isAndroid="true";102// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.1") != -1) OSName="Android " isAndroid="true";103// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.2") != -1) OSName="Android " isAndroid="true";104// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.3") != -1) OSName="Android " isAndroid="true";105// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.4") != -1) OSName="Android " isAndroid="true";106// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.5") != -1) OSName="Android " isAndroid="true";107// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.6") != -1) OSName="Android " isAndroid="true";108// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.7") != -1) OSName="Android " isAndroid="true";109// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.8") != -1) OSName="Android " isAndroid="true";110// if (window.navigator.userAgent.indexOf("Linux; Android 1.0.9") != -1) OSName="Android " isAndroid="true";111// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.0") != -1) OSName="Android " isAndroid="true";112// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.1") != -1) OSName="Android " isAndroid="true";113// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.2") != -1) OSName="Android " isAndroid="true";114// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.3") != -1) OSName="Android " isAndroid="true";115// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.4") != -1) OSName="Android " isAndroid="true";116// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.5") != -1) OSName="Android " isAndroid="true";117// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.6") != -1) OSName="Android " isAndroid="true";118// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.7") != -1) OSName="Android " isAndroid="true";119// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.8") != -1) OSName="Android " isAndroid="true";120// if (window.navigator.userAgent.indexOf("Linux; Android 1.1.9") != -1) OSName="Android " isAndroid="true";121// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.0") != -1) OSName="Android " isAndroid="true";122// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.1") != -1) OSName="Android " isAndroid="true";123// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.2") != -1) OSName="Android " isAndroid="true";124// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.3") != -1) OSName="Android " isAndroid="true";125// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.4") != -1) OSName="Android " isAndroid="true";126// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.5") != -1) OSName="Android " isAndroid="true";127// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.6") != -1) OSName="Android " isAndroid="true";128// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.7") != -1) OSName="Android " isAndroid="true";129// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.8") != -1) OSName="Android " isAndroid="true";130// if (window.navigator.userAgent.indexOf("Linux; Android 1.2.9") != -1) OSName="Android " isAndroid="true";131// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.0") != -1) OSName="Android " isAndroid="true";132// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.1") != -1) OSName="Android " isAndroid="true";133// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.2") != -1) OSName="Android " isAndroid="true";134// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.3") != -1) OSName="Android " isAndroid="true";135// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.4") != -1) OSName="Android " isAndroid="true";136// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.5") != -1) OSName="Android " isAndroid="true";137// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.6") != -1) OSName="Android " isAndroid="true";138// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.7") != -1) OSName="Android " isAndroid="true";139// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.8") != -1) OSName="Android " isAndroid="true";140// if (window.navigator.userAgent.indexOf("Linux; Android 1.3.9") != -1) OSName="Android " isAndroid="true";141// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.0") != -1) OSName="Android " isAndroid="true";142// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.1") != -1) OSName="Android " isAndroid="true";143// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.2") != -1) OSName="Android " isAndroid="true";144// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.3") != -1) OSName="Android " isAndroid="true";145// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.4") != -1) OSName="Android " isAndroid="true";146// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.5") != -1) OSName="Android " isAndroid="true";147// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.6") != -1) OSName="Android " isAndroid="true";148// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.7") != -1) OSName="Android " isAndroid="true";149// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.8") != -1) OSName="Android " isAndroid="true";150// if (window.navigator.userAgent.indexOf("Linux; Android 1.4.9") != -1) OSName="Android " isAndroid="true";151// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.0") != -1) OSName="Android " isAndroid="true";152// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.1") != -1) OSName="Android " isAndroid="true";153// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.2") != -1) OSName="Android " isAndroid="true";154// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.3") != -1) OSName="Android " isAndroid="true";155// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.4") != -1) OSName="Android " isAndroid="true";156// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.5") != -1) OSName="Android " isAndroid="true";157// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.6") != -1) OSName="Android " isAndroid="true";158// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.7") != -1) OSName="Android " isAndroid="true";159// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.8") != -1) OSName="Android " isAndroid="true";160// if (window.navigator.userAgent.indexOf("Linux; Android 1.5.9") != -1) OSName="Android " isAndroid="true";161// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.0") != -1) OSName="Android " isAndroid="true";162// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.1") != -1) OSName="Android " isAndroid="true";163// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.2") != -1) OSName="Android " isAndroid="true";164// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.3") != -1) OSName="Android " isAndroid="true";165// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.4") != -1) OSName="Android " isAndroid="true";166// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.5") != -1) OSName="Android " isAndroid="true";167// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.6") != -1) OSName="Android " isAndroid="true";168// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.7") != -1) OSName="Android " isAndroid="true";169// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.8") != -1) OSName="Android " isAndroid="true";170// if (window.navigator.userAgent.indexOf("Linux; Android 1.6.9") != -1) OSName="Android " isAndroid="true";171// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.0") != -1) OSName="Android " isAndroid="true";172// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.1") != -1) OSName="Android " isAndroid="true";173// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.2") != -1) OSName="Android " isAndroid="true";174// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.3") != -1) OSName="Android " isAndroid="true";175// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.4") != -1) OSName="Android " isAndroid="true";176// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.5") != -1) OSName="Android " isAndroid="true";177// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.6") != -1) OSName="Android " isAndroid="true";178// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.7") != -1) OSName="Android " isAndroid="true";179// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.8") != -1) OSName="Android " isAndroid="true";180// if (window.navigator.userAgent.indexOf("Linux; Android 1.7.9") != -1) OSName="Android " isAndroid="true";181// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.0") != -1) OSName="Android " isAndroid="true";182// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.1") != -1) OSName="Android " isAndroid="true";183// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.2") != -1) OSName="Android " isAndroid="true";184// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.3") != -1) OSName="Android " isAndroid="true";185// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.4") != -1) OSName="Android " isAndroid="true";186// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.5") != -1) OSName="Android " isAndroid="true";187// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.6") != -1) OSName="Android " isAndroid="true";188// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.7") != -1) OSName="Android " isAndroid="true";189// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.8") != -1) OSName="Android " isAndroid="true";190// if (window.navigator.userAgent.indexOf("Linux; Android 1.8.9") != -1) OSName="Android " isAndroid="true";191// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.0") != -1) OSName="Android " isAndroid="true";192// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.1") != -1) OSName="Android " isAndroid="true";193// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.2") != -1) OSName="Android " isAndroid="true";194// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.3") != -1) OSName="Android " isAndroid="true";195// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.4") != -1) OSName="Android " isAndroid="true";196// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.5") != -1) OSName="Android " isAndroid="true";197// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.6") != -1) OSName="Android " isAndroid="true";198// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.7") != -1) OSName="Android " isAndroid="true";199// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.8") != -1) OSName="Android " isAndroid="true";200// if (window.navigator.userAgent.indexOf("Linux; Android 1.9.9") != -1) OSName="Android " isAndroid="true";201// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.0") != -1) OSName="Android " isAndroid="true";202// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.1") != -1) OSName="Android " isAndroid="true";203// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.2") != -1) OSName="Android " isAndroid="true";204// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.3") != -1) OSName="Android " isAndroid="true";205// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.4") != -1) OSName="Android " isAndroid="true";206// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.5") != -1) OSName="Android " isAndroid="true";207// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.6") != -1) OSName="Android " isAndroid="true";208// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.7") != -1) OSName="Android " isAndroid="true";209// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.8") != -1) OSName="Android " isAndroid="true";210// if (window.navigator.userAgent.indexOf("Linux; Android 2.0.9") != -1) OSName="Android " isAndroid="true";211// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.0") != -1) OSName="Android " isAndroid="true";212// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.1") != -1) OSName="Android " isAndroid="true";213// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.2") != -1) OSName="Android " isAndroid="true";214// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.3") != -1) OSName="Android " isAndroid="true";215// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.4") != -1) OSName="Android " isAndroid="true";216// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.5") != -1) OSName="Android " isAndroid="true";217// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.6") != -1) OSName="Android " isAndroid="true";218// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.7") != -1) OSName="Android " isAndroid="true";219// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.8") != -1) OSName="Android " isAndroid="true";220// if (window.navigator.userAgent.indexOf("Linux; Android 2.1.9") != -1) OSName="Android " isAndroid="true";221// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.0") != -1) OSName="Android " isAndroid="true";222// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.1") != -1) OSName="Android " isAndroid="true";223// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.2") != -1) OSName="Android " isAndroid="true";224// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.3") != -1) OSName="Android " isAndroid="true";225// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.4") != -1) OSName="Android " isAndroid="true";226// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.5") != -1) OSName="Android " isAndroid="true";227// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.6") != -1) OSName="Android " isAndroid="true";228// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.7") != -1) OSName="Android " isAndroid="true";229// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.8") != -1) OSName="Android " isAndroid="true";230// if (window.navigator.userAgent.indexOf("Linux; Android 2.2.9") != -1) OSName="Android " isAndroid="true";231// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.0") != -1) OSName="Android " isAndroid="true";232// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.1") != -1) OSName="Android " isAndroid="true";233// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.2") != -1) OSName="Android " isAndroid="true";234// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.3") != -1) OSName="Android " isAndroid="true";235// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.4") != -1) OSName="Android " isAndroid="true";236// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.5") != -1) OSName="Android " isAndroid="true";237// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.6") != -1) OSName="Android " isAndroid="true";238// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.7") != -1) OSName="Android " isAndroid="true";239// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.8") != -1) OSName="Android " isAndroid="true";240// if (window.navigator.userAgent.indexOf("Linux; Android 2.3.9") != -1) OSName="Android " isAndroid="true";241// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.0") != -1) OSName="Android " isAndroid="true";242// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.1") != -1) OSName="Android " isAndroid="true";243// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.2") != -1) OSName="Android " isAndroid="true";244// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.3") != -1) OSName="Android " isAndroid="true";245// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.4") != -1) OSName="Android " isAndroid="true";246// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.5") != -1) OSName="Android " isAndroid="true";247// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.6") != -1) OSName="Android " isAndroid="true";248// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.7") != -1) OSName="Android " isAndroid="true";249// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.8") != -1) OSName="Android " isAndroid="true";250// if (window.navigator.userAgent.indexOf("Linux; Android 2.4.9") != -1) OSName="Android " isAndroid="true";251// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.0") != -1) OSName="Android " isAndroid="true";252// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.1") != -1) OSName="Android " isAndroid="true";253// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.2") != -1) OSName="Android " isAndroid="true";254// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.3") != -1) OSName="Android " isAndroid="true";255// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.4") != -1) OSName="Android " isAndroid="true";256// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.5") != -1) OSName="Android " isAndroid="true";257// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.6") != -1) OSName="Android " isAndroid="true";258// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.7") != -1) OSName="Android " isAndroid="true";259// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.8") != -1) OSName="Android " isAndroid="true";260// if (window.navigator.userAgent.indexOf("Linux; Android 2.5.9") != -1) OSName="Android " isAndroid="true";261// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.0") != -1) OSName="Android " isAndroid="true";262// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.1") != -1) OSName="Android " isAndroid="true";263// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.2") != -1) OSName="Android " isAndroid="true";264// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.3") != -1) OSName="Android " isAndroid="true";265// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.4") != -1) OSName="Android " isAndroid="true";266// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.5") != -1) OSName="Android " isAndroid="true";267// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.6") != -1) OSName="Android " isAndroid="true";268// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.7") != -1) OSName="Android " isAndroid="true";269// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.8") != -1) OSName="Android " isAndroid="true";270// if (window.navigator.userAgent.indexOf("Linux; Android 2.6.9") != -1) OSName="Android " isAndroid="true";271// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.0") != -1) OSName="Android " isAndroid="true";272// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.1") != -1) OSName="Android " isAndroid="true";273// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.2") != -1) OSName="Android " isAndroid="true";274// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.3") != -1) OSName="Android " isAndroid="true";275// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.4") != -1) OSName="Android " isAndroid="true";276// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.5") != -1) OSName="Android " isAndroid="true";277// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.6") != -1) OSName="Android " isAndroid="true";278// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.7") != -1) OSName="Android " isAndroid="true";279// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.8") != -1) OSName="Android " isAndroid="true";280// if (window.navigator.userAgent.indexOf("Linux; Android 2.7.9") != -1) OSName="Android " isAndroid="true";281// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.0") != -1) OSName="Android " isAndroid="true";282// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.1") != -1) OSName="Android " isAndroid="true";283// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.2") != -1) OSName="Android " isAndroid="true";284// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.3") != -1) OSName="Android " isAndroid="true";285// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.4") != -1) OSName="Android " isAndroid="true";286// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.5") != -1) OSName="Android " isAndroid="true";287// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.6") != -1) OSName="Android " isAndroid="true";288// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.7") != -1) OSName="Android " isAndroid="true";289// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.8") != -1) OSName="Android " isAndroid="true";290// if (window.navigator.userAgent.indexOf("Linux; Android 2.8.9") != -1) OSName="Android " isAndroid="true";291// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.0") != -1) OSName="Android " isAndroid="true";292// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.1") != -1) OSName="Android " isAndroid="true";293// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.2") != -1) OSName="Android " isAndroid="true";294// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.3") != -1) OSName="Android " isAndroid="true";295// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.4") != -1) OSName="Android " isAndroid="true";296// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.5") != -1) OSName="Android " isAndroid="true";297// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.6") != -1) OSName="Android " isAndroid="true";298// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.7") != -1) OSName="Android " isAndroid="true";299// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.8") != -1) OSName="Android " isAndroid="true";300// if (window.navigator.userAgent.indexOf("Linux; Android 2.9.9") != -1) OSName="Android " isAndroid="true";301// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.0") != -1) OSName="Android " isAndroid="true";302// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.1") != -1) OSName="Android " isAndroid="true";303// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.2") != -1) OSName="Android " isAndroid="true";304// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.3") != -1) OSName="Android " isAndroid="true";305// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.4") != -1) OSName="Android " isAndroid="true";306// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.5") != -1) OSName="Android " isAndroid="true";307// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.6") != -1) OSName="Android " isAndroid="true";308// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.7") != -1) OSName="Android " isAndroid="true";309// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.8") != -1) OSName="Android " isAndroid="true";310// if (window.navigator.userAgent.indexOf("Linux; Android 3.0.9") != -1) OSName="Android " isAndroid="true";311// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.0") != -1) OSName="Android " isAndroid="true";312// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.1") != -1) OSName="Android " isAndroid="true";313// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.2") != -1) OSName="Android " isAndroid="true";314// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.3") != -1) OSName="Android " isAndroid="true";315// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.4") != -1) OSName="Android " isAndroid="true";316// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.5") != -1) OSName="Android " isAndroid="true";317// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.6") != -1) OSName="Android " isAndroid="true";318// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.7") != -1) OSName="Android " isAndroid="true";319// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.8") != -1) OSName="Android " isAndroid="true";320// if (window.navigator.userAgent.indexOf("Linux; Android 3.1.9") != -1) OSName="Android " isAndroid="true";321// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.0") != -1) OSName="Android " isAndroid="true";322// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.1") != -1) OSName="Android " isAndroid="true";323// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.2") != -1) OSName="Android " isAndroid="true";324// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.3") != -1) OSName="Android " isAndroid="true";325// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.4") != -1) OSName="Android " isAndroid="true";326// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.5") != -1) OSName="Android " isAndroid="true";327// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.6") != -1) OSName="Android " isAndroid="true";328// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.7") != -1) OSName="Android " isAndroid="true";329// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.8") != -1) OSName="Android " isAndroid="true";330// if (window.navigator.userAgent.indexOf("Linux; Android 3.2.9") != -1) OSName="Android " isAndroid="true";331// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.0") != -1) OSName="Android " isAndroid="true";332// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.1") != -1) OSName="Android " isAndroid="true";333// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.2") != -1) OSName="Android " isAndroid="true";334// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.3") != -1) OSName="Android " isAndroid="true";335// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.4") != -1) OSName="Android " isAndroid="true";336// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.5") != -1) OSName="Android " isAndroid="true";337// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.6") != -1) OSName="Android " isAndroid="true";338// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.7") != -1) OSName="Android " isAndroid="true";339// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.8") != -1) OSName="Android " isAndroid="true";340// if (window.navigator.userAgent.indexOf("Linux; Android 3.3.9") != -1) OSName="Android " isAndroid="true";341// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.0") != -1) OSName="Android " isAndroid="true";342// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.1") != -1) OSName="Android " isAndroid="true";343// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.2") != -1) OSName="Android " isAndroid="true";344// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.3") != -1) OSName="Android " isAndroid="true";345// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.4") != -1) OSName="Android " isAndroid="true";346// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.5") != -1) OSName="Android " isAndroid="true";347// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.6") != -1) OSName="Android " isAndroid="true";348// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.7") != -1) OSName="Android " isAndroid="true";349// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.8") != -1) OSName="Android " isAndroid="true";350// if (window.navigator.userAgent.indexOf("Linux; Android 3.4.9") != -1) OSName="Android " isAndroid="true";351// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.0") != -1) OSName="Android " isAndroid="true";352// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.1") != -1) OSName="Android " isAndroid="true";353// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.2") != -1) OSName="Android " isAndroid="true";354// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.3") != -1) OSName="Android " isAndroid="true";355// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.4") != -1) OSName="Android " isAndroid="true";356// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.5") != -1) OSName="Android " isAndroid="true";357// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.6") != -1) OSName="Android " isAndroid="true";358// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.7") != -1) OSName="Android " isAndroid="true";359// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.8") != -1) OSName="Android " isAndroid="true";360// if (window.navigator.userAgent.indexOf("Linux; Android 3.5.9") != -1) OSName="Android " isAndroid="true";361// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.0") != -1) OSName="Android " isAndroid="true";362// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.1") != -1) OSName="Android " isAndroid="true";363// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.2") != -1) OSName="Android " isAndroid="true";364// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.3") != -1) OSName="Android " isAndroid="true";365// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.4") != -1) OSName="Android " isAndroid="true";366// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.5") != -1) OSName="Android " isAndroid="true";367// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.6") != -1) OSName="Android " isAndroid="true";368// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.7") != -1) OSName="Android " isAndroid="true";369// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.8") != -1) OSName="Android " isAndroid="true";370// if (window.navigator.userAgent.indexOf("Linux; Android 3.6.9") != -1) OSName="Android " isAndroid="true";371// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.0") != -1) OSName="Android " isAndroid="true";372// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.1") != -1) OSName="Android " isAndroid="true";373// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.2") != -1) OSName="Android " isAndroid="true";374// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.3") != -1) OSName="Android " isAndroid="true";375// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.4") != -1) OSName="Android " isAndroid="true";376// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.5") != -1) OSName="Android " isAndroid="true";377// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.6") != -1) OSName="Android " isAndroid="true";378// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.7") != -1) OSName="Android " isAndroid="true";379// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.8") != -1) OSName="Android " isAndroid="true";380// if (window.navigator.userAgent.indexOf("Linux; Android 3.7.9") != -1) OSName="Android " isAndroid="true";381// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.0") != -1) OSName="Android " isAndroid="true";382// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.1") != -1) OSName="Android " isAndroid="true";383// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.2") != -1) OSName="Android " isAndroid="true";384// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.3") != -1) OSName="Android " isAndroid="true";385// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.4") != -1) OSName="Android " isAndroid="true";386// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.5") != -1) OSName="Android " isAndroid="true";387// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.6") != -1) OSName="Android " isAndroid="true";388// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.7") != -1) OSName="Android " isAndroid="true";389// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.8") != -1) OSName="Android " isAndroid="true";390// if (window.navigator.userAgent.indexOf("Linux; Android 3.8.9") != -1) OSName="Android " isAndroid="true";391// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.0") != -1) OSName="Android " isAndroid="true";392// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.1") != -1) OSName="Android " isAndroid="true";393// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.2") != -1) OSName="Android " isAndroid="true";394// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.3") != -1) OSName="Android " isAndroid="true";395// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.4") != -1) OSName="Android " isAndroid="true";396// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.5") != -1) OSName="Android " isAndroid="true";397// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.6") != -1) OSName="Android " isAndroid="true";398// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.7") != -1) OSName="Android " isAndroid="true";399// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.8") != -1) OSName="Android " isAndroid="true";400// if (window.navigator.userAgent.indexOf("Linux; Android 3.9.9") != -1) OSName="Android " isAndroid="true";401// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.0") != -1) OSName="Android " isAndroid="true";402// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.1") != -1) OSName="Android " isAndroid="true";403// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.2") != -1) OSName="Android " isAndroid="true";404// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.3") != -1) OSName="Android " isAndroid="true";405// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.4") != -1) OSName="Android " isAndroid="true";406// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.5") != -1) OSName="Android " isAndroid="true";407// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.6") != -1) OSName="Android " isAndroid="true";408// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.7") != -1) OSName="Android " isAndroid="true";409// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.8") != -1) OSName="Android " isAndroid="true";410// if (window.navigator.userAgent.indexOf("Linux; Android 4.0.9") != -1) OSName="Android " isAndroid="true";411// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.0") != -1) OSName="Android " isAndroid="true";412// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.1") != -1) OSName="Android " isAndroid="true";413// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.2") != -1) OSName="Android " isAndroid="true";414// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.3") != -1) OSName="Android " isAndroid="true";415// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.4") != -1) OSName="Android " isAndroid="true";416// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.5") != -1) OSName="Android " isAndroid="true";417// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.6") != -1) OSName="Android " isAndroid="true";418// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.7") != -1) OSName="Android " isAndroid="true";419// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.8") != -1) OSName="Android " isAndroid="true";420// if (window.navigator.userAgent.indexOf("Linux; Android 4.1.9") != -1) OSName="Android " isAndroid="true";421// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.0") != -1) OSName="Android " isAndroid="true";422// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.1") != -1) OSName="Android " isAndroid="true";423// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.2") != -1) OSName="Android " isAndroid="true";424// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.3") != -1) OSName="Android " isAndroid="true";425// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.4") != -1) OSName="Android " isAndroid="true";426// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.5") != -1) OSName="Android " isAndroid="true";427// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.6") != -1) OSName="Android " isAndroid="true";428// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.7") != -1) OSName="Android " isAndroid="true";429// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.8") != -1) OSName="Android " isAndroid="true";430// if (window.navigator.userAgent.indexOf("Linux; Android 4.2.9") != -1) OSName="Android " isAndroid="true";431// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.0") != -1) OSName="Android " isAndroid="true";432// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.1") != -1) OSName="Android " isAndroid="true";433// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.2") != -1) OSName="Android " isAndroid="true";434// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.3") != -1) OSName="Android " isAndroid="true";435// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.4") != -1) OSName="Android " isAndroid="true";436// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.5") != -1) OSName="Android " isAndroid="true";437// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.6") != -1) OSName="Android " isAndroid="true";438// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.7") != -1) OSName="Android " isAndroid="true";439// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.8") != -1) OSName="Android " isAndroid="true";440// if (window.navigator.userAgent.indexOf("Linux; Android 4.3.9") != -1) OSName="Android " isAndroid="true";441// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.0") != -1) OSName="Android " isAndroid="true";442// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.1") != -1) OSName="Android " isAndroid="true";443// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.2") != -1) OSName="Android " isAndroid="true";444// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.3") != -1) OSName="Android " isAndroid="true";445// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.4") != -1) OSName="Android " isAndroid="true";446// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.5") != -1) OSName="Android " isAndroid="true";447// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.6") != -1) OSName="Android " isAndroid="true";448// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.7") != -1) OSName="Android " isAndroid="true";449// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.8") != -1) OSName="Android " isAndroid="true";450// if (window.navigator.userAgent.indexOf("Linux; Android 4.4.9") != -1) OSName="Android " isAndroid="true";451// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.0") != -1) OSName="Android " isAndroid="true";452// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.1") != -1) OSName="Android " isAndroid="true";453// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.2") != -1) OSName="Android " isAndroid="true";454// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.3") != -1) OSName="Android " isAndroid="true";455// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.4") != -1) OSName="Android " isAndroid="true";456// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.5") != -1) OSName="Android " isAndroid="true";457// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.6") != -1) OSName="Android " isAndroid="true";458// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.7") != -1) OSName="Android " isAndroid="true";459// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.8") != -1) OSName="Android " isAndroid="true";460// if (window.navigator.userAgent.indexOf("Linux; Android 4.5.9") != -1) OSName="Android " isAndroid="true";461// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.0") != -1) OSName="Android " isAndroid="true";462// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.1") != -1) OSName="Android " isAndroid="true";463// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.2") != -1) OSName="Android " isAndroid="true";464// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.3") != -1) OSName="Android " isAndroid="true";465// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.4") != -1) OSName="Android " isAndroid="true";466// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.5") != -1) OSName="Android " isAndroid="true";467// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.6") != -1) OSName="Android " isAndroid="true";468// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.7") != -1) OSName="Android " isAndroid="true";469// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.8") != -1) OSName="Android " isAndroid="true";470// if (window.navigator.userAgent.indexOf("Linux; Android 4.6.9") != -1) OSName="Android " isAndroid="true";471// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.0") != -1) OSName="Android " isAndroid="true";472// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.1") != -1) OSName="Android " isAndroid="true";473// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.2") != -1) OSName="Android " isAndroid="true";474// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.3") != -1) OSName="Android " isAndroid="true";475// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.4") != -1) OSName="Android " isAndroid="true";476// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.5") != -1) OSName="Android " isAndroid="true";477// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.6") != -1) OSName="Android " isAndroid="true";478// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.7") != -1) OSName="Android " isAndroid="true";479// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.8") != -1) OSName="Android " isAndroid="true";480// if (window.navigator.userAgent.indexOf("Linux; Android 4.7.9") != -1) OSName="Android " isAndroid="true";481// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.0") != -1) OSName="Android " isAndroid="true";482// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.1") != -1) OSName="Android " isAndroid="true";483// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.2") != -1) OSName="Android " isAndroid="true";484// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.3") != -1) OSName="Android " isAndroid="true";485// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.4") != -1) OSName="Android " isAndroid="true";486// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.5") != -1) OSName="Android " isAndroid="true";487// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.6") != -1) OSName="Android " isAndroid="true";488// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.7") != -1) OSName="Android " isAndroid="true";489// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.8") != -1) OSName="Android " isAndroid="true";490// if (window.navigator.userAgent.indexOf("Linux; Android 4.8.9") != -1) OSName="Android " isAndroid="true";491// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.0") != -1) OSName="Android " isAndroid="true";492// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.1") != -1) OSName="Android " isAndroid="true";493// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.2") != -1) OSName="Android " isAndroid="true";494// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.3") != -1) OSName="Android " isAndroid="true";495// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.4") != -1) OSName="Android " isAndroid="true";496// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.5") != -1) OSName="Android " isAndroid="true";497// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.6") != -1) OSName="Android " isAndroid="true";498// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.7") != -1) OSName="Android " isAndroid="true";499// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.8") != -1) OSName="Android " isAndroid="true";500// if (window.navigator.userAgent.indexOf("Linux; Android 4.9.9") != -1) OSName="Android " isAndroid="true";501// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.0") != -1) OSName="Android " isAndroid="true";502// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.1") != -1) OSName="Android " isAndroid="true";503// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.2") != -1) OSName="Android " isAndroid="true";504// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.3") != -1) OSName="Android " isAndroid="true";505// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.4") != -1) OSName="Android " isAndroid="true";506// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.5") != -1) OSName="Android " isAndroid="true";507// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.6") != -1) OSName="Android " isAndroid="true";508// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.7") != -1) OSName="Android " isAndroid="true";509// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.8") != -1) OSName="Android " isAndroid="true";510// if (window.navigator.userAgent.indexOf("Linux; Android 5.0.9") != -1) OSName="Android " isAndroid="true";511// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.0") != -1) OSName="Android " isAndroid="true";512// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.1") != -1) OSName="Android " isAndroid="true";513// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.2") != -1) OSName="Android " isAndroid="true";514// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.3") != -1) OSName="Android " isAndroid="true";515// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.4") != -1) OSName="Android " isAndroid="true";516// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.5") != -1) OSName="Android " isAndroid="true";517// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.6") != -1) OSName="Android " isAndroid="true";518// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.7") != -1) OSName="Android " isAndroid="true";519// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.8") != -1) OSName="Android " isAndroid="true";520// if (window.navigator.userAgent.indexOf("Linux; Android 5.1.9") != -1) OSName="Android " isAndroid="true";521// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.0") != -1) OSName="Android " isAndroid="true";522// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.1") != -1) OSName="Android " isAndroid="true";523// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.2") != -1) OSName="Android " isAndroid="true";524// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.3") != -1) OSName="Android " isAndroid="true";525// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.4") != -1) OSName="Android " isAndroid="true";526// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.5") != -1) OSName="Android " isAndroid="true";527// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.6") != -1) OSName="Android " isAndroid="true";528// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.7") != -1) OSName="Android " isAndroid="true";529// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.8") != -1) OSName="Android " isAndroid="true";530// if (window.navigator.userAgent.indexOf("Linux; Android 5.2.9") != -1) OSName="Android " isAndroid="true";531// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.0") != -1) OSName="Android " isAndroid="true";532// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.1") != -1) OSName="Android " isAndroid="true";533// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.2") != -1) OSName="Android " isAndroid="true";534// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.3") != -1) OSName="Android " isAndroid="true";535// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.4") != -1) OSName="Android " isAndroid="true";536// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.5") != -1) OSName="Android " isAndroid="true";537// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.6") != -1) OSName="Android " isAndroid="true";538// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.7") != -1) OSName="Android " isAndroid="true";539// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.8") != -1) OSName="Android " isAndroid="true";540// if (window.navigator.userAgent.indexOf("Linux; Android 5.3.9") != -1) OSName="Android " isAndroid="true";541// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.0") != -1) OSName="Android " isAndroid="true";542// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.1") != -1) OSName="Android " isAndroid="true";543// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.2") != -1) OSName="Android " isAndroid="true";544// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.3") != -1) OSName="Android " isAndroid="true";545// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.4") != -1) OSName="Android " isAndroid="true";546// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.5") != -1) OSName="Android " isAndroid="true";547// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.6") != -1) OSName="Android " isAndroid="true";548// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.7") != -1) OSName="Android " isAndroid="true";549// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.8") != -1) OSName="Android " isAndroid="true";550// if (window.navigator.userAgent.indexOf("Linux; Android 5.4.9") != -1) OSName="Android " isAndroid="true";551// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.0") != -1) OSName="Android " isAndroid="true";552// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.1") != -1) OSName="Android " isAndroid="true";553// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.2") != -1) OSName="Android " isAndroid="true";554// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.3") != -1) OSName="Android " isAndroid="true";555// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.4") != -1) OSName="Android " isAndroid="true";556// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.5") != -1) OSName="Android " isAndroid="true";557// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.6") != -1) OSName="Android " isAndroid="true";558// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.7") != -1) OSName="Android " isAndroid="true";559// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.8") != -1) OSName="Android " isAndroid="true";560// if (window.navigator.userAgent.indexOf("Linux; Android 5.5.9") != -1) OSName="Android " isAndroid="true";561// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.0") != -1) OSName="Android " isAndroid="true";562// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.1") != -1) OSName="Android " isAndroid="true";563// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.2") != -1) OSName="Android " isAndroid="true";564// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.3") != -1) OSName="Android " isAndroid="true";565// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.4") != -1) OSName="Android " isAndroid="true";566// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.5") != -1) OSName="Android " isAndroid="true";567// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.6") != -1) OSName="Android " isAndroid="true";568// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.7") != -1) OSName="Android " isAndroid="true";569// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.8") != -1) OSName="Android " isAndroid="true";570// if (window.navigator.userAgent.indexOf("Linux; Android 5.6.9") != -1) OSName="Android " isAndroid="true";571// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.0") != -1) OSName="Android " isAndroid="true";572// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.1") != -1) OSName="Android " isAndroid="true";573// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.2") != -1) OSName="Android " isAndroid="true";574// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.3") != -1) OSName="Android " isAndroid="true";575// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.4") != -1) OSName="Android " isAndroid="true";576// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.5") != -1) OSName="Android " isAndroid="true";577// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.6") != -1) OSName="Android " isAndroid="true";578// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.7") != -1) OSName="Android " isAndroid="true";579// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.8") != -1) OSName="Android " isAndroid="true";580// if (window.navigator.userAgent.indexOf("Linux; Android 5.7.9") != -1) OSName="Android " isAndroid="true";581// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.0") != -1) OSName="Android " isAndroid="true";582// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.1") != -1) OSName="Android " isAndroid="true";583// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.2") != -1) OSName="Android " isAndroid="true";584// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.3") != -1) OSName="Android " isAndroid="true";585// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.4") != -1) OSName="Android " isAndroid="true";586// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.5") != -1) OSName="Android " isAndroid="true";587// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.6") != -1) OSName="Android " isAndroid="true";588// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.7") != -1) OSName="Android " isAndroid="true";589// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.8") != -1) OSName="Android " isAndroid="true";590// if (window.navigator.userAgent.indexOf("Linux; Android 5.8.9") != -1) OSName="Android " isAndroid="true";591// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.0") != -1) OSName="Android " isAndroid="true";592// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.1") != -1) OSName="Android " isAndroid="true";593// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.2") != -1) OSName="Android " isAndroid="true";594// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.3") != -1) OSName="Android " isAndroid="true";595// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.4") != -1) OSName="Android " isAndroid="true";596// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.5") != -1) OSName="Android " isAndroid="true";597// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.6") != -1) OSName="Android " isAndroid="true";598// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.7") != -1) OSName="Android " isAndroid="true";599// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.8") != -1) OSName="Android " isAndroid="true";600// if (window.navigator.userAgent.indexOf("Linux; Android 5.9.9") != -1) OSName="Android " isAndroid="true";601// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.0") != -1) OSName="Android " isAndroid="true";602// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.1") != -1) OSName="Android " isAndroid="true";603// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.2") != -1) OSName="Android " isAndroid="true";604// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.3") != -1) OSName="Android " isAndroid="true";605// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.4") != -1) OSName="Android " isAndroid="true";606// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.5") != -1) OSName="Android " isAndroid="true";607// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.6") != -1) OSName="Android " isAndroid="true";608// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.7") != -1) OSName="Android " isAndroid="true";609// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.8") != -1) OSName="Android " isAndroid="true";610// if (window.navigator.userAgent.indexOf("Linux; Android 6.0.9") != -1) OSName="Android " isAndroid="true";611// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.0") != -1) OSName="Android " isAndroid="true";612// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.1") != -1) OSName="Android " isAndroid="true";613// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.2") != -1) OSName="Android " isAndroid="true";614// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.3") != -1) OSName="Android " isAndroid="true";615// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.4") != -1) OSName="Android " isAndroid="true";616// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.5") != -1) OSName="Android " isAndroid="true";617// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.6") != -1) OSName="Android " isAndroid="true";618// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.7") != -1) OSName="Android " isAndroid="true";619// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.8") != -1) OSName="Android " isAndroid="true";620// if (window.navigator.userAgent.indexOf("Linux; Android 6.1.9") != -1) OSName="Android " isAndroid="true";621// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.0") != -1) OSName="Android " isAndroid="true";622// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.1") != -1) OSName="Android " isAndroid="true";623// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.2") != -1) OSName="Android " isAndroid="true";624// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.3") != -1) OSName="Android " isAndroid="true";625// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.4") != -1) OSName="Android " isAndroid="true";626// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.5") != -1) OSName="Android " isAndroid="true";627// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.6") != -1) OSName="Android " isAndroid="true";628// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.7") != -1) OSName="Android " isAndroid="true";629// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.8") != -1) OSName="Android " isAndroid="true";630// if (window.navigator.userAgent.indexOf("Linux; Android 6.2.9") != -1) OSName="Android " isAndroid="true";631// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.0") != -1) OSName="Android " isAndroid="true";632// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.1") != -1) OSName="Android " isAndroid="true";633// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.2") != -1) OSName="Android " isAndroid="true";634// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.3") != -1) OSName="Android " isAndroid="true";635// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.4") != -1) OSName="Android " isAndroid="true";636// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.5") != -1) OSName="Android " isAndroid="true";637// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.6") != -1) OSName="Android " isAndroid="true";638// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.7") != -1) OSName="Android " isAndroid="true";639// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.8") != -1) OSName="Android " isAndroid="true";640// if (window.navigator.userAgent.indexOf("Linux; Android 6.3.9") != -1) OSName="Android " isAndroid="true";641// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.0") != -1) OSName="Android " isAndroid="true";642// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.1") != -1) OSName="Android " isAndroid="true";643// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.2") != -1) OSName="Android " isAndroid="true";644// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.3") != -1) OSName="Android " isAndroid="true";645// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.4") != -1) OSName="Android " isAndroid="true";646// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.5") != -1) OSName="Android " isAndroid="true";647// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.6") != -1) OSName="Android " isAndroid="true";648// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.7") != -1) OSName="Android " isAndroid="true";649// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.8") != -1) OSName="Android " isAndroid="true";650// if (window.navigator.userAgent.indexOf("Linux; Android 6.4.9") != -1) OSName="Android " isAndroid="true";651// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.0") != -1) OSName="Android " isAndroid="true";652// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.1") != -1) OSName="Android " isAndroid="true";653// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.2") != -1) OSName="Android " isAndroid="true";654// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.3") != -1) OSName="Android " isAndroid="true";655// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.4") != -1) OSName="Android " isAndroid="true";656// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.5") != -1) OSName="Android " isAndroid="true";657// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.6") != -1) OSName="Android " isAndroid="true";658// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.7") != -1) OSName="Android " isAndroid="true";659// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.8") != -1) OSName="Android " isAndroid="true";660// if (window.navigator.userAgent.indexOf("Linux; Android 6.5.9") != -1) OSName="Android " isAndroid="true";661// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.0") != -1) OSName="Android " isAndroid="true";662// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.1") != -1) OSName="Android " isAndroid="true";663// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.2") != -1) OSName="Android " isAndroid="true";664// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.3") != -1) OSName="Android " isAndroid="true";665// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.4") != -1) OSName="Android " isAndroid="true";666// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.5") != -1) OSName="Android " isAndroid="true";667// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.6") != -1) OSName="Android " isAndroid="true";668// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.7") != -1) OSName="Android " isAndroid="true";669// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.8") != -1) OSName="Android " isAndroid="true";670// if (window.navigator.userAgent.indexOf("Linux; Android 6.6.9") != -1) OSName="Android " isAndroid="true";671// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.0") != -1) OSName="Android " isAndroid="true";672// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.1") != -1) OSName="Android " isAndroid="true";673// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.2") != -1) OSName="Android " isAndroid="true";674// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.3") != -1) OSName="Android " isAndroid="true";675// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.4") != -1) OSName="Android " isAndroid="true";676// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.5") != -1) OSName="Android " isAndroid="true";677// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.6") != -1) OSName="Android " isAndroid="true";678// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.7") != -1) OSName="Android " isAndroid="true";679// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.8") != -1) OSName="Android " isAndroid="true";680// if (window.navigator.userAgent.indexOf("Linux; Android 6.7.9") != -1) OSName="Android " isAndroid="true";681// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.0") != -1) OSName="Android " isAndroid="true";682// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.1") != -1) OSName="Android " isAndroid="true";683// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.2") != -1) OSName="Android " isAndroid="true";684// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.3") != -1) OSName="Android " isAndroid="true";685// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.4") != -1) OSName="Android " isAndroid="true";686// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.5") != -1) OSName="Android " isAndroid="true";687// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.6") != -1) OSName="Android " isAndroid="true";688// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.7") != -1) OSName="Android " isAndroid="true";689// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.8") != -1) OSName="Android " isAndroid="true";690// if (window.navigator.userAgent.indexOf("Linux; Android 6.8.9") != -1) OSName="Android " isAndroid="true";691// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.0") != -1) OSName="Android 6.9.0 " isAndroid="true";692// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.1") != -1) OSName="Android 6.9.1 " isAndroid="true";693// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.2") != -1) OSName="Android 6.9.2 " isAndroid="true";694// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.3") != -1) OSName="Android 6.9.3 " isAndroid="true";695// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.4") != -1) OSName="Android 6.9.4 " isAndroid="true";696// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.5") != -1) OSName="Android 6.9.5 " isAndroid="true";697// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.6") != -1) OSName="Android 6.9.6 " isAndroid="true";698// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.7") != -1) OSName="Android 6.9.7 " isAndroid="true";699// if (window.navigator.userAgent.indexOf("Linux; Android 6.9.8") != -1) OSName="Android 6.9.8 " isAndroid="true";...
pubnub-detailed-history.js
Source:pubnub-detailed-history.js
1// ----------------------------------2// Detect Platform3// ----------------------------------4var isAndroid = Ti.Platform.osname === 'android';5// ----------------------------------6// INIT PUBNUB7// ----------------------------------8var pubnub = require('pubnub')({9 publish_key : 'demo',10 subscribe_key : 'demo',11 ssl : false,12 origin : 'pubsub.pubnub.com'13});14// ----------------------------------15// RANDOM COLOR16// ----------------------------------17function rnd_hex(light) { return Math.ceil(Math.random()*9) }18function rnd_color() {19 return '#'+pubnub.map(20 Array(3).join().split(','), rnd_hex21 ).join('');22}23Ti.App.DetailedHistory = function(setup) {24 // ----------------------------------25 // CREATE BASE UI TAB AND ROOT WINDOW26 // ----------------------------------27 var data_window = Ti.UI.createWindow(setup['window']);28 function append_data( message, color ) {29 var row = Ti.UI.createTableViewRow({30 className : "pubnub_data",31 backgroundGradient : {32 type : 'linear',33 colors : [ "#fff", '#eeeeed' ],34 startPoint : { x : 0, y : 0 },35 endPoint : { x : 0, y : 70 },36 backFillStart : false37 }38 });39 var label = Ti.UI.createLabel({40 text : message || "no-message",41 height : (isAndroid) ? '50dp' : 'auto',42 width : 'auto',43 color : color || "#111",44 left : 10,45 font : {46 fontSize : (isAndroid) ? '19dp' : 14,47 fontWeight: (isAndroid) ? 'bold' : 'normal'48 }49 });50 row.add(label);51 table.insertRowBefore( 0, row );52 }53 // Detailed history reverse false Button54 var detailed_history_button = Ti.UI.createButton({55 title : 'Get Detailed History',56 top : 4,57 right : 80,58 width : (isAndroid) ? '180dp' : 180,59 height : (isAndroid) ? '50dp' : 30,60 borderRadius : 6,61 shadowColor : "#001",62 shadowOffset : { x : 1, y : 1 },63 style : Ti.UI.iPhone.SystemButtonStyle.PLAIN,64 font : {65 fontSize : (isAndroid) ? '18dp' : 16,66 fontWeight : 'bold'67 },68 backgroundGradient : {69 type : 'linear',70 colors : [ '#058cf5', '#015fe6' ],71 startPoint : { x : 0, y : 0 },72 endPoint : { x : 2, y : 50 },73 backFillStart : false74 }75 });76 // Detailed history reverse true Button77 var detailed_history_reverse_button = Ti.UI.createButton({78 title : 'Get Detailed History Reverse',79 top : 40,80 right : 60,81 width : (isAndroid) ? '230dp' : 230,82 height : (isAndroid) ? '50dp' : 30,83 borderRadius : 6,84 shadowColor : "#001",85 shadowOffset : { x : 1, y : 1 },86 style : Ti.UI.iPhone.SystemButtonStyle.PLAIN,87 font : {88 fontSize : (isAndroid) ? '18dp' : 16,89 fontWeight : 'bold'90 },91 backgroundGradient : {92 type : 'linear',93 colors : [ '#058cf5', '#015fe6' ],94 startPoint : { x : 0, y : 0 },95 endPoint : { x : 2, y : 50 },96 backFillStart : false97 }98 });99 var channel = Ti.UI.createTextField({100 width : (isAndroid) ? '75%' : 247,101 height : (isAndroid) ? '50dp' : 30,102 left : 4,103 top : 80,104 color : "#111",105 clearOnEdit : true,106 value : setup['channel'],107 border : 1,108 borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,109 borderRadius : 4,110 font : {111 fontSize : (isAndroid) ? '18dp' : 14,112 fontWeight : 'bold'113 }114 });115 var count = Ti.UI.createTextField({116 width : (isAndroid) ? '75%' : 247,117 height : (isAndroid) ? '50dp' : 30,118 left : 4,119 top : 120,120 color : "#111",121 clearOnEdit : true,122 value : "Count",123 border : 1,124 borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,125 borderRadius : 4,126 font : {127 fontSize : (isAndroid) ? '18dp' : 14,128 fontWeight : 'bold'129 }130 });131 var start = Ti.UI.createTextField({132 width : (isAndroid) ? '75%' : 247,133 height : (isAndroid) ? '50dp' : 30,134 left : 4,135 clearOnEdit : true,136 top : 160,137 color : "#111",138 value : "Start Timestamp",139 border : 1,140 borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,141 borderRadius : 4,142 font : {143 fontSize : (isAndroid) ? '18dp' : 14,144 fontWeight : 'bold'145 }146 });147 var end = Ti.UI.createTextField({148 width : (isAndroid) ? '75%' : 247,149 height : (isAndroid) ? '50dp' : 30,150 left : 4,151 top : 200,152 clearOnEdit : true,153 color : "#111",154 value : "End Timestamp",155 border : 1,156 borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,157 borderRadius : 4,158 font : {159 fontSize : (isAndroid) ? '18dp' : 14,160 fontWeight : 'bold'161 }162 });163 var table = Ti.UI.createTableView({164 separatorColor : (isAndroid) ? '#000' : '#fff',165 top : (isAndroid) ? '240dp' : 240,166 height : '50%'167 });168 // Append First Row (Blank)169 table.appendRow(Ti.UI.createTableViewRow({170 className : "pubnub_data"171 }));172 // detailed history button Touch173 detailed_history_button.addEventListener( 'touchstart', function(e) {174 var paramobj = {};175 paramobj['channel'] = channel.value;176 paramobj['callback'] = function(message) {177 append_data( JSON.stringify(message), message.color );178 }179 paramobj.error = function() {180 append_data("Lost connection ... ","#f00");181 }182 if (start.value != "Start Timestamp" && start.value != "")183 paramobj['start'] = start.value;184 if (end.value != "End Timestamp" && end.value != "")185 paramobj['end'] = end.value;186 if (count.value != "Count" && count.value != "")187 paramobj['count'] = count.value;188 else189 paramobj['count'] = 100;190 pubnub.history(paramobj);191 });192 // detailed history button reverse Touch193 detailed_history_reverse_button.addEventListener( 'touchstart', function(e) {194 var paramobj = {};195 paramobj['channel'] = channel.value;196 paramobj['callback'] = function(message) {197 append_data( JSON.stringify(message), message.color );198 }199 paramobj.error = function() {200 append_data("Lost connection ... ","#f00");201 }202 if (start.value != "Start Timestamp" && start.value != "")203 paramobj['start'] = start.value;204 if (end.value != "End Timestamp" && end.value != "")205 paramobj['end'] = end.value;206 if (count.value != "Count" && count.value != "")207 paramobj['count'] = count.value;208 else209 paramobj['count'] = 100;210 paramobj["reverse"] = "true";211 pubnub.history(paramobj);212 });213 data_window.add(channel);214 data_window.add(count);215 data_window.add(start);216 data_window.add(end);217 data_window.add(detailed_history_button);218 data_window.add(detailed_history_reverse_button);219 data_window.add(table);220 this.data_window = data_window;221 this.my_color = rnd_color();222 this.pubnub = pubnub;223 return this;...
App.js
Source:App.js
1import React, { useState } from "react";2import Spinner from "./components/spinner";3import Badger from "./components/badge";4import Radio from "./components/radiobutton";5import Header from "./components_header/Header";6import Text from "./components_header/Text";7import Button from "./Button";8import Icon from "./components_header/Icon";9import Card from "./components_card/card";10import CardItem from "./components_card/cardItem";11import Left from "./components_card/Left";12import Right from "./components_card/Right";13import FooterIcons from "./footers/FooterIcons";14import FooterIconsText from "./footers/FooterIconsAndText";15import "./styles/App.css";16function App() {17 const [isAndroid, setIsAndroid] = useState(true);18 const data = [19 { title: "Text1", value: 1 },20 { title: "Text2", value: 2 },21 ];22 return (23 <div className="App">24 <button25 className={!isAndroid ? "btnI" : "btnA"}26 onClick={() => setIsAndroid(false)}27 >28 IOS29 </button>30 <button31 className={isAndroid ? "btnI" : "btnA"}32 onClick={() => setIsAndroid(true)}33 >34 ANDROID35 </button>36 {/* HEADER */}37 {/* <Header title ios={!isAndroid} />38 <Header titleAndSub ios={!isAndroid} /> */}39 <Header iconButton ios={!isAndroid} />40 {/* <Header textButton ios={!isAndroid} />41 <Header icon ios={!isAndroid} />42 <Header iconText ios={!isAndroid} />43 <Header multiIcon ios={!isAndroid} /> */}44 {/* CARD */}45 <Card bordered>46 <CardItem bordered header>47 <Text ios={!isAndroid} color="primary" size="15px" weight="650">48 Social Applications49 </Text>50 </CardItem>51 <CardItem>52 <Left>53 <Icon googlePlus />54 <Text color="dark" size="15px" weight="500">55 Google Plus56 </Text>57 </Left>58 <Right>59 <Icon ios={!isAndroid} />60 </Right>61 </CardItem>62 <CardItem>63 <Left>64 <Icon facebook />65 <Text color="dark" size="15px" weight="500">66 facebook67 </Text>68 </Left>69 <Right>70 <Icon ios={!isAndroid} />71 </Right>72 </CardItem>73 <CardItem>74 <Left>75 <Icon twitter />76 <Text color="dark" size="15px" weight="500">77 Twitter78 </Text>79 </Left>80 <Right>81 <Icon ios={!isAndroid} />82 </Right>83 </CardItem>84 <CardItem>85 <Left>86 <Icon reddit />87 <Text color="dark" size="15px" weight="500">88 Reddit89 </Text>90 </Left>91 <Right>92 <Icon ios={!isAndroid} />93 </Right>94 </CardItem>95 <CardItem>96 <Left>97 <Icon linkedIn />98 <Text color="dark" size="15px" weight="500">99 LinkedIn100 </Text>101 </Left>102 <Right>103 <Icon ios={!isAndroid} />104 </Right>105 </CardItem>106 <CardItem>107 <Left>108 <Icon youTube />109 <Text color="dark" size="15px" weight="500">110 YouTube111 </Text>112 </Left>113 <Right>114 <Icon ios={!isAndroid} />115 </Right>116 </CardItem>117 {/* <CardItem button footer>118 <Text color="primary" size="15px" weight="650">119 Footer120 </Text>121 </CardItem> */}122 </Card>123 {/* BUTTON */}124 {/* <Button ios={!isAndroid} color="dark"> 125 <Text ios={!isAndroid} weight="500" size="14px" color="white">126 Dark127 </Text>128 </Button>129 <Button ios={!isAndroid} bordered color="dark"> 130 <Text ios={!isAndroid} weight="500" size="14px" color="dark">131 Dark132 </Text>133 </Button>134 <Button ios={!isAndroid} transparent > 135 <Text ios={!isAndroid} weight="500" size="14px" color="dark">136 Dark137 </Text>138 </Button>139 <Button ios={!isAndroid} rounded color="dark" > 140 <Text ios={!isAndroid} weight="500" size="14px" color="white">141 Dark142 </Text>143 </Button>144 <Button ios={!isAndroid} full color="dark">145 <Text color="white" size="14px" weight="500">146 Dark147 </Text>148 </Button>149 <Button ios={!isAndroid} block color="dark">150 <Text color="white" size="14px" weight="500">151 Dark152 </Text>153 </Button>154 <Button ios={!isAndroid} bordered color="gray"> 155 <Text ios={!isAndroid} weight="500" size="14px" color="gray">156 Dark157 </Text>158 </Button>159 <Button ios={!isAndroid} full color="gray">160 <Text color="white" size="14px" weight="500">161 Dark162 </Text>163 </Button>164 <Button ios={!isAndroid} color="gray"> 165 <Text ios={!isAndroid} weight="500" size="14px" color="white">166 Primary167 </Text>168 </Button>169 <Button ios={!isAndroid} iconLeft color="light">170 <Icon ios={!isAndroid} arrowLeft />171 <Text ios={!isAndroid} weight="550" size="15px" color="black">172 Back173 </Text>174 </Button> */}175 {/* <Button ios={!isAndroid} iconRight color="light">176 <Text ios={!isAndroid} weight="550" size="15px" color="black">177 Next178 </Text>179 <Icon ios={!isAndroid} arrowRight />180 </Button> */}181 {/* SPINNER */}182 <Spinner ios={!isAndroid} color="red" />183 {/* BADGE */}184 {/* <Badger color="primary" count={5} /> */}185 {/* REAIO */}186 {/* <Radio ios={!isAndroid} data={data} color="green" /> */}187 {/* FOOTER */}188 {/* <FooterIcons ios={!isAndroid} /> */}189 <FooterIconsText ios={!isAndroid} />190 </div>191 );192}...
mobileDetector.js
Source:mobileDetector.js
1import mobileDetector from '../../../lib/helpers/mobileDetector'2describe('mobileDetector helper', () => {3 it('should not detect mobile app for browserName===undefined', function () {4 const {isMobile, isIOS, isAndroid} = mobileDetector({})5 expect(isMobile).to.be.false6 expect(isIOS).to.be.false7 expect(isAndroid).to.be.false8 })9 it('should not detect mobile app for browserName==="firefox"', function () {10 const {isMobile, isIOS, isAndroid} = mobileDetector({browserName: 'firefox'})11 expect(isMobile).to.be.false12 expect(isIOS).to.be.false13 expect(isAndroid).to.be.false14 })15 it('should not detect mobile app for browserName==="chrome"', function () {16 const {isMobile, isIOS, isAndroid} = mobileDetector({browserName: 'chrome'})17 expect(isMobile).to.be.false18 expect(isIOS).to.be.false19 expect(isAndroid).to.be.false20 })21 it('should detect mobile app for browserName===""', function () {22 const {isMobile, isIOS, isAndroid} = mobileDetector({browserName: ''})23 expect(isMobile).to.be.true24 expect(isIOS).to.be.false25 expect(isAndroid).to.be.false26 })27 it('should not detect mobile app for browser==="firefox"', function () {28 const {isMobile, isIOS, isAndroid} = mobileDetector({browser: 'firefox'})29 expect(isMobile).to.be.false30 expect(isIOS).to.be.false31 expect(isAndroid).to.be.false32 })33 it('should not detect mobile app for browser==="chrome"', function () {34 const {isMobile, isIOS, isAndroid} = mobileDetector({browser: 'chrome'})35 expect(isMobile).to.be.false36 expect(isIOS).to.be.false37 expect(isAndroid).to.be.false38 })39 it('should detect mobile app for browser===""', function () {40 const {isMobile, isIOS, isAndroid} = mobileDetector({browser: ''})41 expect(isMobile).to.be.true42 expect(isIOS).to.be.false43 expect(isAndroid).to.be.false44 })45 it('should detect Android mobile app', function () {46 const {isMobile, isIOS, isAndroid} = mobileDetector({47 platformName: 'Android',48 platformVersion: '4.4',49 deviceName: 'LGVS450PP2a16334',50 app: 'foo.apk'51 })52 expect(isMobile).to.be.true53 expect(isIOS).to.be.false54 expect(isAndroid).to.be.true55 })56 it('should detect Android mobile app', function () {57 const {isMobile, isIOS, isAndroid} = mobileDetector({58 platformName: 'Android',59 platformVersion: '4.4',60 device: 'Samsung Galaxy S5 Mini',61 app: 'foo.apk'62 })63 expect(isMobile).to.be.true64 expect(isIOS).to.be.false65 expect(isAndroid).to.be.true66 })67 it('should detect Android mobile app', function () {68 const {isMobile, isIOS, isAndroid} = mobileDetector({69 platformName: 'Android',70 platformVersion: '8.0',71 device: 'Google Pixel',72 app: 'foo.apk'73 })74 expect(isMobile).to.be.true75 expect(isIOS).to.be.false76 expect(isAndroid).to.be.true77 })78 it('should detect iOS mobile app', function () {79 const {isMobile, isIOS, isAndroid} = mobileDetector({80 platformName: 'iOS',81 platformVersion: '11.2',82 device: 'iPhone X',83 app: 'foo.ipa'84 })85 expect(isMobile).to.be.true86 expect(isIOS).to.be.true87 expect(isAndroid).to.be.false88 })89 it('should detect Android mobile app without upload', function () {90 const {isMobile, isIOS, isAndroid} = mobileDetector({91 platformName: 'Android',92 platformVersion: '4.4',93 deviceName: 'LGVS450PP2a16334',94 appPackage: 'com.example',95 appActivity: 'com.example.gui.LauncherActivity',96 noReset: true,97 appWaitActivity: 'com.example.gui.LauncherActivity'98 })99 expect(isMobile).to.be.true100 expect(isIOS).to.be.false101 expect(isAndroid).to.be.true102 })103 it('should detect Android mobile app without upload', function () {104 const {isMobile, isIOS, isAndroid} = mobileDetector({105 platformName: 'Android',106 platformVersion: '4.4',107 device: 'Motorola Moto X 2nd Gen',108 appPackage: 'com.example',109 appActivity: 'com.example.gui.LauncherActivity',110 noReset: true,111 appWaitActivity: 'com.example.gui.LauncherActivity'112 })113 expect(isMobile).to.be.true114 expect(isIOS).to.be.false115 expect(isAndroid).to.be.true116 })...
JPushHandler.js
Source:JPushHandler.js
1'use strict';2import {DeviceEventEmitter, NativeModules, Platform} from 'react-native'3const AndroidJPushModule = NativeModules.AndroidJPushModule;4const isAndroid = Platform.OS === "android";5const listeners = {};6class JPushHandler {7 static initJPush () {8 if (isAndroid) {9 console.log('JPush init........')10 AndroidJPushModule.initJPush()11 }12 }13 static notifyJSDidLoad (callback) {14 AndroidJPushModule.notifyJSDidLoad((resultCode) => {15 callback(resultCode)16 })17 }18 static getRegistrationID (callback) {19 if (isAndroid) {20 AndroidJPushModule.getRegistrationID(id => {21 callback(id)22 })23 }24 }25 static setLoginStatus(isLogin) {26 if (isAndroid) {27 AndroidJPushModule.setLoginStatus(isLogin)28 }29 }30 static resumeJPush () {31 if (isAndroid) {32 AndroidJPushModule.resumeJPush()33 }34 }35 static stopJPush () {36 if (isAndroid) {37 AndroidJPushModule.stopJPush()38 }39 }40 static clearAllNotifications () {41 if (isAndroid) {42 AndroidJPushModule.clearAllNotifications()43 }44 }45 static isJPushStopped (callback) {46 if (isAndroid) {47 AndroidJPushModule.isJPushStopped((isStop) => {48 callback(isStop)49 })50 }51 }52 static addRegistrationIdListener (callback) {53 if (isAndroid) {54 listeners[callback] = DeviceEventEmitter.addListener(55 AndroidJPushModule.EVENT_REGISTRATION_ID,56 (registrationId) => {57 callback(registrationId)58 }59 )60 }61 }62 static removeRegistrationIdListener (cb) {63 if (isAndroid) {64 if (!listeners[cb]) {65 return;66 }67 listeners[cb].remove();68 listeners[cb] = null;69 }70 }71 static addNotificationListener (callback) {72 if (isAndroid) {73 listeners[callback] = DeviceEventEmitter.addListener(74 AndroidJPushModule.EVENT_NOTIFICATION,75 (map) => {76 callback(map)77 }78 )79 }80 }81 static removeNotificationListener (cb) {82 if (isAndroid) {83 if (!listeners[cb]) {84 return;85 }86 listeners[cb].remove();87 listeners[cb] = null;88 }89 }90 static addCustomMessageListener (callback) {91 if (isAndroid) {92 listeners[callback] = DeviceEventEmitter.addListener(93 AndroidJPushModule.EVENT_CUSTOM_NOTIFICATION,94 (map) => {95 callback(map)96 }97 )98 }99 }100 static removeCustomMessageListener (cb) {101 if (isAndroid) {102 if (!listeners[cb]) {103 return;104 }105 listeners[cb].remove();106 listeners[cb] = null;107 }108 }109 static addOpenNotificationListener (callback) {110 if (isAndroid) {111 listeners[callback] = DeviceEventEmitter.addListener(112 AndroidJPushModule.EVENT_OPEN_NOTIFICATION,113 (map) => {114 callback(map)115 }116 )117 }118 }119 static removeOpenNotificationListener (cb) {120 if (isAndroid) {121 if (!listeners[cb]) {122 return;123 }124 listeners[cb].remove();125 listeners[cb] = null;126 }127 }128 static sendJPushLocalNotification (notification = {129 title: '',130 content: '',131 sendTime: '',132 id: '',133 extra: '',134 }) {135 AndroidJPushModule.sendJPushLocalNotification(notification)136 }137 static sendLocalNotification (notification = {138 title: '',139 content: '',140 sendTime: '',141 id: '',142 extra: '',143 highPriority: false,144 }) {145 AndroidJPushModule.sendLocalNotification(notification)146 }147}...
NAZA_lib.js
Source:NAZA_lib.js
1var photoPath = 0;2var parm = 0;3var isAndroid;4if (window.androidApi != null) {5 isAndroid = true;6}7else {8 isAndroid = false;9}10//è°ç¨GPS11function openGetGps() {12 if (isAndroid) {13 gpsCallBack(window.androidApi.openGetGps());14 }15 else {16 window.location = "js://openGetGps()";17 }18}19//读åé讯å½20function readContactList() {21 if (isAndroid) {22 //window.androidApi.readContactList()23 contactCallBack(window.androidApi.readContactList());24 }25 else {26 window.location = "js://readContactList()";27 }28}29//å½å
¥è系人30function writeContact() {31 if (isAndroid) {32 a(window.androidApi.writeContact("{\"contactName\":\"é¿å¸\",\"phoneNumber\":\"159357123\",\"email\":\"123@456.com\",\"company\":\"å
¬å¸\",\"address\":\"å°å\"}"33 ));34 }35 else {36 window.location = "js://writeContact()";37 }38}39//ä¿®æ¹è系人40function modifyContact() {41 if (isAndroid) {42 c(window.androidApi.modifyContact("{\"contactId\":\"601\",\"contactName\":\"é¿å¸ä¸\",\"phoneNumber\":\"159357456\",\"email\":\"123@654.com\",\"company\":\"å
¬å¸æ¹\",\"address\":\"å°åæ¹\"}"));43 }44 else {45 window.location = "js://modifyContact()";46 }47}48//å é¤è系人49function deleteContact() {50 if (isAndroid) {51 b(window.androidApi.deleteContact("601"));52 }53 else {54 window.location = "js://deleteContact()";55 }56}57//è°æå头58function openCamera() {59 photoPath = new Date().getTime()+"_"+parm;60 parm++;61 if (isAndroid) {62 window.androidApi.openCamera("data/photo/" + photoPath + ".png"); //androidæå头63 }64 else {65 window.location = "js:TC//openCamera('"+photoPath+".jpeg')";66 }67}68//äºç»´ç 69function openScan() {70 if (isAndroid) {71 window.androidApi.openScan(); //androidæå头72 }73 else {74 window.location = "js:TC//openScan()";75 }76}77//è¯é³è¯å«78function openVoice() {79 if (isAndroid) {80 window.androidApi.openVoice(); //androidæå头81 }82 else {83 window.location = "js://openVoice()";84 }85}86//æ°æ®è½¬åæ交ï¼åæ¥ï¼87function submit(url, data, httpType) {88 if (isAndroid) {89 submitCallBack(window.androidApi.submit(url, data, httpType));90 }91 else {92 window.location = "js://submit(" + url + "," + data + "," + httpType + ")";93 }94}95//æ°æ®è½¬åæ交(å¼æ¥)96function ajaxSubmit(url, data, httpType) {97 if (isAndroid) {98 window.androidApi.ajaxSubmit(url, data, httpType);99 }100 else {101 window.location = "js://ajaxSubmit(" + url + "," + data + "," + httpType + ")";102 }103}104function encrptyDataAnddeciphering(str) {105 deciphering(str);106 encrptyData(str);107}108//æ°æ®è§£å¯109function deciphering(str) {110 if (isAndroid) {111 window.androidApi.deciphering(str);112 }113 else {114 window.location = "js://deciphering(str)";115 }116}117//æ°æ®å å¯118function encrptyData(str) {119 if (isAndroid) {120 window.androidApi.encrptyData(str);121 }122 else {123 window.location = "js://deciphering(str)";124 }...
Typography.js
Source:Typography.js
1/**2 * Copyright 2016 Reza (github.com/rghorbani)3 *4 * @flow5 */6'use strict';7const _ = require('lodash');8const { Constants } = require('../helpers');9class Typography {10 text10 = {11 fontSize: 64,12 fontWeight: '100',13 lineHeight: Math.floor(64 * 1.4),14 fontFamily: Constants.isAndroid ? 'sans-serif-thin' : undefined,15 };16 text20 = {17 fontSize: 50,18 fontWeight: '100',19 lineHeight: Math.floor(50 * 1.4),20 fontFamily: Constants.isAndroid ? 'sans-serif-thin' : undefined,21 };22 text30 = {23 fontSize: 36,24 fontWeight: Constants.isAndroid ? '100' : '200',25 lineHeight: Math.floor(36 * 1.3),26 fontFamily: Constants.isAndroid ? 'sans-serif-thin' : undefined,27 };28 text40 = {29 fontSize: 28,30 fontWeight: '300',31 lineHeight: Constants.isAndroid32 ? Math.floor(28 * 1.4)33 : Math.floor(28 * 1.21),34 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,35 };36 text50 = {37 fontSize: Constants.isAndroid ? 24 : 22,38 fontWeight: '300',39 lineHeight: Constants.isAndroid40 ? Math.floor(24 * 1.17)41 : Math.floor(22 * 1.27),42 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,43 };44 text60 = {45 fontSize: 20,46 fontWeight: '300',47 lineHeight: Math.floor(20 * 1.2),48 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,49 };50 text70 = {51 fontSize: Constants.isAndroid ? 16 : 17,52 fontWeight: '300',53 lineHeight: Constants.isAndroid54 ? Math.floor(16 * 1.38)55 : Math.floor(17 * 1.29),56 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,57 };58 text80 = {59 fontSize: Constants.isAndroid ? 14 : 15,60 fontWeight: '300',61 lineHeight: Constants.isAndroid62 ? Math.floor(14 * 1.33)63 : Math.floor(15 * 1.33),64 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,65 };66 text90 = {67 fontSize: Constants.isAndroid ? 12 : 13,68 fontWeight: '300',69 lineHeight: Constants.isAndroid70 ? Math.floor(12 * 1.33)71 : Math.floor(13 * 1.38),72 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,73 };74 text100 = {75 fontSize: Constants.isAndroid ? 10 : 11,76 fontWeight: '300',77 lineHeight: Constants.isAndroid78 ? Math.floor(10 * 1.18)79 : Math.floor(11 * 1.18),80 fontFamily: Constants.isAndroid ? 'sans-serif-light' : undefined,81 };82 /**83 * Load custom set of typographies84 * arguments:85 * typographies - map of keys and typography values86 * e.g {text15: {fontSize: 58, fontWeight: '100', lineHeight: Math.floor(58 * 1.4)}}87 */88 loadTypographies(typographies) {89 _.forEach(typographies, (value, key) => {90 this[key] = value;91 });92 }93 getKeysPattern() {94 return new RegExp(95 _.chain(this)96 .keys()97 .map(key => [`${key}`])98 .flatten()99 .join('|')100 .value(),101 );102 }103}...
fonts.js
Source:fonts.js
1import {Platform} from 'react-native';2const isAndroid = Platform.OS === 'android' ? true : false;3export const Font = {4 Regular: 'Montserrat-Regular',5 Bold: 'Montserrat-Bold',6 ExtraBold: 'Montserrat-ExtraBold',7 Medium: 'Montserrat-Medium',8 SemiBold: 'Montserrat-SemiBold',9 Black: 'Montserrat-Black',10};11export const FontSizee = {12 TextInput: 16,13 LabelSmall: 14,14 Button: 18,15 ErrorLabel: 12,16 AlertTitle: 18,17 AlertDescription: 16,18 Smallest: 8,19 Small: 10,20 Average: 12,21 Normal: 14,22 Medium: 15,23 Large: 16,24 VeryLarge: 18,25 Largest: 20,26 Largest2: 25,27 Largest3: 28,28 Largest4: 22,29};30export const FontSize = {31 Normal: isAndroid ? 14 : 16,32 Average: isAndroid ? 12 : 14,33 VeryLarge: isAndroid ? 18 : 20,34 Smallest: isAndroid ? 10 : 10,35 Small: isAndroid ? 13 : 15,36 Large: isAndroid ? 20 : 22,37 _21: isAndroid ? 21 : 23,38 _22: isAndroid ? 22 : 24,39 _23: isAndroid ? 23 : 25,40 Largest: isAndroid ? 26 : 26,41 LargeMedium: isAndroid ? 25 : 25,42 Medium: isAndroid ? 15 : 17,43 MediumLarge: isAndroid ? 17 : 19,44 MediumSmall: isAndroid ? 16 : 18,...
Using AI Code Generation
1var webdriverio = require('webdriverio');2var options = {3 desiredCapabilities: {4 }5};6 .remote(options)7 .init()8 .getTitle().then(function(title) {9 console.log('Title was: ' + title);10 })11 .end();
Using AI Code Generation
1var isAndroid = browser.isAndroid;2var isIOS = browser.isIOS;3var isMobile = browser.isMobile;4var isTablet = browser.isTablet;5var isTouchEnabled = browser.isTouchEnabled;6var isMobileWeb = browser.isMobileWeb;7var orientation = browser.getOrientation();8browser.setOrientation('LANDSCAPE');9var geoLocation = browser.getGeoLocation();10browser.setGeoLocation({latitude: 52.520008, longitude: 13.404954});11var networkConnection = browser.getNetworkConnection();12browser.setNetworkConnection(2);13var performance = browser.getPerformance('type', 'startTime', 'duration');14var performanceData = browser.getPerformanceData('type', 'startTime', 'duration');15var logTypes = browser.getLogTypes();16var logs = browser.getLogs('type');17var orientation = browser.getOrientation();18browser.setOrientation('LANDSCAPE');19var geoLocation = browser.getGeoLocation();20browser.setGeoLocation({latitude: 52.520008, longitude: 13.404954});21var networkConnection = browser.getNetworkConnection();22browser.setNetworkConnection(2);
Using AI Code Generation
1const assert = require('assert');2const { remote } = require('webdriverio');3(async () => {4 const browser = await remote({5 capabilities: {6 }7 })8 const title = await browser.getTitle()9 assert.strictEqual(title, 'WebdriverIO · Next-gen browser and mobile automation test framework for Node.js')10 const url = await browser.getUrl()11 const viewportSize = await browser.getViewportSize()12 assert.strictEqual(viewportSize.width, 1200)13 assert.strictEqual(viewportSize.height, 800)14 const orientation = await browser.getOrientation()15 assert.strictEqual(orientation, 'portrait')16 const location = await browser.getLocation()17 assert.strictEqual(location.latitude, 51.2194475)18 assert.strictEqual(location.longitude, 4.4024643)19 assert.strictEqual(location.altitude, 0)20 const windowHandle = await browser.getWindowHandle()21 assert.strictEqual(windowHandle, 'CDwindow-1A0B1C2D3E')22 const windowHandles = await browser.getWindowHandles()23 assert.strictEqual(windowHandles.length, 1)24 assert.strictEqual(windowHandles[0], 'CDwindow-1A0B1C2D3E')25 const windowRect = await browser.getWindowRect()26 assert.strictEqual(windowRect.x, 0)27 assert.strictEqual(windowRect.y, 0)28 assert.strictEqual(windowRect.width, 1200)29 assert.strictEqual(windowRect.height, 800)30 const status = await browser.getNetworkConditions()31 assert.strictEqual(status, 'online')32 const cacheStatus = await browser.getApplicationCacheStatus()33 assert.strictEqual(cacheStatus, 0)34 const pageSource = await browser.getPageSource()35 assert.strictEqual(pageSource.includes('<html'),
Using AI Code Generation
1let isAndroid = browser.isAndroid;2console.log(isAndroid);3let isIOS = browser.isIOS;4console.log(isIOS);5let isMobile = browser.isMobile;6console.log(isMobile);7let isMobileWeb = browser.isMobileWeb;8console.log(isMobileWeb);9let isWeb = browser.isWeb;10console.log(isWeb);11let isWebdriver = browser.isWebdriver;12console.log(isWebdriver);13let isW3C = browser.isW3C;14console.log(isW3C);15let isChrome = browser.isChrome;16console.log(isChrome);17let isFirefox = browser.isFirefox;18console.log(isFirefox);19let isSafari = browser.isSafari;20console.log(isSafari);21let isInternetExplorer = browser.isInternetExplorer;22console.log(isInternetExplorer);23let isEdge = browser.isEdge;24console.log(isEdge);25let isOpera = browser.isOpera;26console.log(isOpera);27let isAndroidWeb = browser.isAndroidWeb;28console.log(isAndroidWeb);29let isIOSWeb = browser.isIOSWeb;30console.log(isIOSWeb);31let isAndroidNative = browser.isAndroidNative;32console.log(isAndroidNative);33let isIOSNative = browser.isIOSNative;34console.log(isIOSNative);35let isAndroidChrome = browser.isAndroidChrome;36console.log(isAndroidChrome);
Using AI Code Generation
1const isAndroid = require('webdriverio/build/lib/utils').isAndroid;2const isIOS = require('webdriverio/build/lib/utils').isIOS;3const isWindows = require('webdriverio/build/lib/utils').isWindows;4const isMac = require('webdriverio/build/lib/utils').isMac;5const isChrome = require('webdriverio/build/lib/utils').isChrome;6const isFirefox = require('webdriverio/build/lib/utils').isFirefox;7const isSafari = require('webdriverio/build/lib/utils').isSafari;8const isMobile = require('webdriverio/build/lib/utils').isMobile;9const isMobileWeb = require('webdriverio/build/lib/utils').isMobileWeb;10const isMobileNative = require('webdriverio/build/lib/utils').isMobileNative;11const isMobileChrome = require('webdriverio/build/lib/utils').isMobileChrome;12const isMobileFirefox = require('webdriverio/build/lib/utils').isMobileFirefox;13const isMobileSafari = require('webdriverio/build/lib/utils').isMobileSafari;14const isMobileSafari = require('webdriverio/build/lib/utils').isMobileSafari;15const isMobileSafari = require('webdriverio/build/lib/utils').isMobileSafari;16const isMobileSafari = require('webdriverio/build/lib/utils').isMobileSafari;17const isMobileSafari = require('webdriverio/build/lib/utils').isMobileSafari;
Using AI Code Generation
1if(!browser.isAndroid){2}3if(browser.isAndroid){4}5if(!browser.isAndroid){6}7if(browser.isAndroid){8}9if(!browser.isAndroid){10}11if(browser.isAndroid){12}13if(!browser.isAndroid){14}15if(browser.isAndroid){16}17if(!browser.isAndroid){18}19if(browser.isAndroid){20}21if(!browser.isAndroid){22}23if(browser.isAndroid){24}25if(!browser.isAndroid){26}27if(browser.isAndroid){28}29if(!browser.isAndroid){
Using AI Code Generation
1describe('Android', () => {2 it('should be an Android device', () => {3 console.log(`Is Android device: ${browser.isAndroid}`);4 });5});6exports.config = {7 capabilities: [{
Using AI Code Generation
1describe('Test Appium', () => {2 it('should detect Android', () => {3 })4})5describe('Test Appium', () => {6 it('should detect iOS', () => {7 })8})9describe('Test Appium', () => {10 it('should detect mobile', () => {11 })12})13describe('Test Appium', () => {14 it('should detect mobile web', () => {15 })16})17describe('Test Appium', () => {18 it('should detect web', () => {19 })20})21describe('Test Appium', () => {22 it('should detect native app', () => {23 })24})25describe('Test Appium', () => {26 it('should detect web app', () => {27 })28})29describe('Test Appium', () => {30 it('should detect web app', () => {31 })32})33describe('Test Appium', () => {34 it('should detect web app', () => {35 })36})37describe('Test Appium', () => {38 it('should detect web app', () => {39 })40})41describe('Test Appium', () => {42 it('should detect web app', () => {43 console.log(browser.isMobileWebApp
Wondering what could be a next-gen browser and mobile test automation framework that is also simple and concise? Yes, that’s right, it's WebdriverIO. Since the setup is very easy to follow compared to Selenium testing configuration, you can configure the features manually thereby being the center of attraction for automation testing. Therefore the testers adopt WedriverIO to fulfill their needs of browser testing.
Learn to run automation testing with WebdriverIO tutorial. Go from a beginner to a professional automation test expert with LambdaTest WebdriverIO tutorial.
Running Your First Automation Script - Learn the steps involved to execute your first Test Automation Script using WebdriverIO since the setup is very easy to follow and the features can be configured manually.
Selenium Automation With WebdriverIO - Read more about automation testing with WebdriverIO and how it supports both browsers and mobile devices.
Browser Commands For Selenium Testing - Understand more about the barriers faced while working on your Selenium Automation Scripts in WebdriverIO, the ‘browser’ object and how to use them?
Handling Alerts & Overlay In Selenium - Learn different types of alerts faced during automation, how to handle these alerts and pops and also overlay modal in WebdriverIO.
How To Use Selenium Locators? - Understand how Webdriver uses selenium locators in a most unique way since having to choose web elements very carefully for script execution is very important to get stable test results.
Deep Selectors In Selenium WebdriverIO - The most popular automation testing framework that is extensively adopted by all the testers at a global level is WebdriverIO. Learn how you can use Deep Selectors in Selenium WebdriverIO.
Handling Dropdown In Selenium - Learn more about handling dropdowns and how it's important while performing automated browser testing.
Automated Monkey Testing with Selenium & WebdriverIO - Understand how you can leverage the amazing quality of WebdriverIO along with selenium framework to automate monkey testing of your website or web applications.
JavaScript Testing with Selenium and WebdriverIO - Speed up your Javascript testing with Selenium and WebdriverIO.
Cross Browser Testing With WebdriverIO - Learn more with this step-by-step tutorial about WebdriverIO framework and how cross-browser testing is done with WebdriverIO.
Get 100 minutes of automation test minutes FREE!!